From feb6a1ad3f0ae4cf0a9bfe9b935bbf6abaea702d Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 15 Dec 2024 00:16:21 +0300 Subject: [PATCH] ci: allow overriding MAKEJOBS --- ci/test/00_setup_env.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh index 587dfc2bfe..8b3529a622 100755 --- a/ci/test/00_setup_env.sh +++ b/ci/test/00_setup_env.sh @@ -25,8 +25,7 @@ export JOB_NUMBER=${JOB_NUMBER:-1} echo "Fallback to default values in env (if not yet set)" # The number of parallel jobs to pass down to make and test_runner.py -MAKEJOBS="-j$(nproc)" -export MAKEJOBS +export MAKEJOBS=${MAKEJOBS:--j$(nproc)} # A folder for the ci system to put temporary files (ccache, datadirs for tests, ...) # This folder only exists on the ci host. export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:-$BASE_ROOT_DIR/ci/scratch}