From 5d733f720d3d6386898b46ca92e61c0e456ea6fa Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Mon, 5 Aug 2024 16:57:50 +0000 Subject: [PATCH] Removes clang archive after extracting The archive itself is ~1GB in size, and the build runner is running out of space while building. --- 1.28.2/rockcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/1.28.2/rockcraft.yaml b/1.28.2/rockcraft.yaml index 479b0c5..7179eaa 100644 --- a/1.28.2/rockcraft.yaml +++ b/1.28.2/rockcraft.yaml @@ -66,6 +66,10 @@ parts: wget -q "https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/${clang_llvm}.tar.xz" tar -xf "./${clang_llvm}.tar.xz" + + # remove the archive to release some local storage, it's around ~1GB in size. + rm "./${clang_llvm}.tar.xz" + bazel/setup_clang.sh "${clang_llvm}" export LLVM_ROOT="$PWD/${clang_llvm}" export PATH=${LLVM_ROOT}/bin:${PATH}