From 657fbc1e6cd1b4b2635f0fe8453f34637d5b4383 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sun, 8 Aug 2021 23:16:26 +0200 Subject: [PATCH] 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. --- Toolchain/BuildClang.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Toolchain/BuildClang.sh b/Toolchain/BuildClang.sh index 5c4f3dfba3..1900d31f53 100755 --- a/Toolchain/BuildClang.sh +++ b/Toolchain/BuildClang.sh @@ -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