mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-11-07 19:54:53 +03:00
build_proton.sh: Use available cores for job count.
This commit is contained in:
parent
fa8f06efaf
commit
0d9ec29b5e
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ usage()
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
JOBS=-j5
|
JOBS=-j"$(( $(nproc 2>/dev/null||sysctl -n hw.ncpu 2>/dev/null||echo 4) + 1))"
|
||||||
PLATFORM=$(uname)
|
PLATFORM=$(uname)
|
||||||
|
|
||||||
[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime"
|
[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue