From 0d9ec29b5e3dea0d536e9da230f4f9f97d03a9fc Mon Sep 17 00:00:00 2001 From: tcarrio Date: Tue, 21 Aug 2018 23:21:28 -0400 Subject: [PATCH] build_proton.sh: Use available cores for job count. --- build_proton.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_proton.sh b/build_proton.sh index d75d7897..c5c94546 100755 --- a/build_proton.sh +++ b/build_proton.sh @@ -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"