Martin Storsjö
7c2067f19f
Build and keep llvm-cov and llvm-profdata
...
These might be useful now that the profiling library in compiler-rt
works.
2019-03-29 23:09:41 +02:00
Martin Storsjö
005b8efd91
Allow building a full llvm install
2019-03-15 23:56:18 +02:00
Martin Storsjö
78bade5cf1
Build and install llvm-objcopy and llvm-strip
2019-01-24 10:58:20 +02:00
Martin Storsjö
f43d7825e5
Remove the new OptRemarks.dll when stripping the llvm installation
2019-01-04 01:30:26 +02:00
Martin Storsjö
1f838437ca
Automatically set EXEEXT in build-mingw-w64.sh and strip-llvm.sh
2018-11-30 12:03:09 +02:00
Martin Storsjö
8f15532652
Clean up more for windows builds in strip-llvm.sh
...
On windows, symlinks might be changed into regular copies, so we keep
as few extra symlinks as possible.
2018-10-02 21:34:54 +03:00
Martin Storsjö
47392c5a90
Don't expect that all files exist in strip-llvm.sh
...
If run multiple times, this removal would try to remove a file named
clang-*, which doesn't exist.
2018-10-02 21:34:54 +03:00
Martin Storsjö
391c93d0d4
Allow strip-llvm.sh to run on files with a potential $EXEEXT suffix
2018-10-02 21:34:54 +03:00
Martin Storsjö
83fbea8ff1
Keep llvm-pdbutil after stripping
...
This tool may be of use in a windows toolchain.
2018-08-03 11:58:59 +03:00
Martin Storsjö
bbea540de6
Remove dangling symlinks when stripping the llvm installation
2018-08-03 11:58:59 +03:00
Martin Storsjö
1ecc51f84d
Clean up some more files installed by current clang
2018-07-25 14:59:31 +03:00
Martin Storsjö
579aa616b4
Fix strip-llvm.sh after updating to the latest version of clang
...
In this version, the binary actually is named clang-7 instead of
clang-7.0. This requires extending the test a little for keeping such
binaries but removing other clang-foo tools.
2018-04-26 13:15:53 +03:00
Martin Storsjö
d3ff718bd1
Remove unnecessary llvm files at the end
...
This doesn't help reduce the docker image size since it's done
in a separate RUN step than the one that added the files. (compiler-rt
and libunwind currently fail to build after stripping the llvm
installation though.)
2018-04-01 23:27:21 +03:00