aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-06-08 17:16:13 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-06-08 17:17:12 -0500
commitd453ed91b6dc332fd45987c642e9d230efe870c8 (patch)
tree4a9e6d647e912580d78105682941f704099f1167 /build.sh
parentdd3a3a356f46fa064b60cd7e000c7bc5633430b7 (diff)
Fix NuGet cert setup and fontconfig env
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 2 insertions, 3 deletions
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" \