diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-06-08 17:16:13 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-06-08 17:17:12 -0500 |
| commit | d453ed91b6dc332fd45987c642e9d230efe870c8 (patch) | |
| tree | 4a9e6d647e912580d78105682941f704099f1167 /build.sh | |
| parent | dd3a3a356f46fa064b60cd7e000c7bc5633430b7 (diff) | |
Fix NuGet cert setup and fontconfig env
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" \ |
