diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-08-08 23:16:26 +0200 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2021-08-08 23:54:00 +0200 |
commit | 657fbc1e6cd1b4b2635f0fe8453f34637d5b4383 (patch) | |
tree | 75e80818dec4ae26ea05432605461c0ee9981ae4 /Toolchain/BuildClang.sh | |
parent | d3595477d8cc2d0324ec6f18649636a439ae232c (diff) | |
download | serenity-657fbc1e6cd1b4b2635f0fe8453f34637d5b4383.zip |
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.
Diffstat (limited to 'Toolchain/BuildClang.sh')
-rwxr-xr-x | Toolchain/BuildClang.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |