2
0
Fork 0
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:
tcarrio 2018-08-21 23:21:28 -04:00 committed by Andrew Eikum
commit 0d9ec29b5e

View file

@ -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"