Toolchain: Remove static LLVM libraries

We link against these dynamically anyways, so having them around is not
useful. Removing them frees precious storage space on CI.
This commit is contained in:
Daniel Bertalan 2021-08-08 23:16:26 +02:00 committed by Gunnar Beutner
parent d3595477d8
commit 657fbc1e6c
Notes: sideshowbarker 2024-07-18 07:12:19 +09:00

View File

@ -392,6 +392,9 @@ pushd "$DIR/Build/clang/$ARCH"
popd
popd
# === REMOVE UNNECESSARY BUILD ARTIFACTS ===
rm -r "$PREFIX"/lib/libclang*.a "$PREFIX"/lib/libLLVM*.a "$PREFIX"/lib/liblld*.a
# === SAVE TO CACHE ===
pushd "$DIR"
if [ "$TRY_USE_LOCAL_TOOLCHAIN" = "y" ]; then