Skip to content

Commit

Permalink
toolchain-bootstrap: remove some large binaries from archive
Browse files Browse the repository at this point in the history
These reduce the size of the tar.zst by ~25 MB. This addresses
some size "regressions" from LLVM 16 and bundling bolt with the
toolchain.
  • Loading branch information
indygreg committed Apr 30, 2023
1 parent 7ca6fc6 commit ed642ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions toolchain-bootstrap/scripts/llvm-assemble-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -ex

# Remove some cruft that bloats the build.
rm llvm/bin/c-index-test
rm llvm/bin/llvm-exegesis

# GCC main library directory is preserved. Clang looks for lib/gcc to denote
# versioned GNU toolchain files.
cp -a gcc-support/lib/gcc llvm/lib/
Expand Down

0 comments on commit ed642ef

Please sign in to comment.