From 5e1d3c2ffe52ade8602c4ae7f980e02e93a56a5f Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 21 Oct 2024 15:07:33 +0100 Subject: [PATCH] ci/mold: Use appropriate parallelism and strip binaries --parallel will by default launch way too many processes and just DoS itself. We also want to strip the installed binary. Signed-off-by: Daniel Stone Part-of: --- .gitlab-ci/container/build-mold.sh | 4 ++-- .gitlab-ci/image-tags.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/container/build-mold.sh b/.gitlab-ci/container/build-mold.sh index f5f50d0a4f5..f18bf5f6a4b 100644 --- a/.gitlab-ci/container/build-mold.sh +++ b/.gitlab-ci/container/build-mold.sh @@ -16,8 +16,8 @@ git clone -b v"$MOLD_VERSION" --single-branch --depth 1 https://github.com/rui31 pushd mold cmake -DCMAKE_BUILD_TYPE=Release -D BUILD_TESTING=OFF -D MOLD_LTO=ON -cmake --build . --parallel -cmake --install . +cmake --build . --parallel "${FDO_CI_CONCURRENT:-4}" +cmake --install . --strip popd rm -rf mold diff --git a/.gitlab-ci/image-tags.yml b/.gitlab-ci/image-tags.yml index 67f01ceafc6..84d8f456122 100644 --- a/.gitlab-ci/image-tags.yml +++ b/.gitlab-ci/image-tags.yml @@ -13,7 +13,7 @@ variables: DEBIAN_X86_64_BUILD_BASE_IMAGE: "debian/x86_64_build-base" - DEBIAN_BASE_TAG: "20241011-deqpr" + DEBIAN_BASE_TAG: "20241022-mouldy" DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build" DEBIAN_BUILD_TAG: "20240910-SDK614"