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 <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31781>
This commit is contained in:
Daniel Stone
2024-10-21 15:07:33 +01:00
committed by Marge Bot
parent 05b5701c01
commit 5e1d3c2ffe
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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"