mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 15:45:50 +03:00
build_proton.sh: Use available cores for job count.
This commit is contained in:
parent
fa8f06efaf
commit
0d9ec29b5e
@ -16,7 +16,7 @@ usage()
|
||||
|
||||
set -e
|
||||
|
||||
JOBS=-j5
|
||||
JOBS=-j"$(( $(nproc 2>/dev/null||sysctl -n hw.ncpu 2>/dev/null||echo 4) + 1))"
|
||||
PLATFORM=$(uname)
|
||||
|
||||
[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime"
|
||||
|
Loading…
Reference in New Issue
Block a user