From d453ed91b6dc332fd45987c642e9d230efe870c8 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Mon, 8 Jun 2026 17:16:13 -0500 Subject: Fix NuGet cert setup and fontconfig env --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index b57d296..bd23ccf 100755 --- a/build.sh +++ b/build.sh @@ -65,9 +65,8 @@ fi echo "=== Starting build (mode: ${BUILD_MODE}) ===" # BUILD_JOBS controls parallelism (override with `BUILD_JOBS=N ./build.sh`). -# Defaults to all available cores; set to 4 by default for the in-progress -# code-review pass to keep the host responsive. -BUILD_JOBS="${BUILD_JOBS:-4}" +# Defaults to all available cores. +BUILD_JOBS="${BUILD_JOBS:-$(nproc 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)}" ${DOCKER} run --rm \ -v "${SCRIPT_DIR}:/src:rw" \ -v "${CCACHE_DIR}:/ccache:rw" \ -- cgit v1.3.1