Use all available cores for wxWidgets build by default
Change JOBS default from 1 to auto-detect using nproc/sysctl. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
1ce4fa91e2
commit
74a2dc2c0f
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
|
|||
BUILD_DIR="$PROJECT_ROOT/build-wasm/wxwidgets-universal"
|
||||
WX_SOURCE="$PROJECT_ROOT/wxwidgets"
|
||||
|
||||
# Use JOBS from env.sh if set, otherwise default to 1 for sequential builds
|
||||
JOBS="${JOBS:-1}"
|
||||
# Use JOBS from env.sh if set, otherwise use all available cores
|
||||
JOBS="${JOBS:-$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 4)}"
|
||||
|
||||
echo "=== Building wxWidgets wxUniversal for WASM ==="
|
||||
echo "Project root: $PROJECT_ROOT"
|
||||
|
|
|
|||
Loading…
Reference in a new issue