mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-16 08:38:16 +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
|
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…
x
Reference in New Issue
Block a user