From d1032d59fda59941079d935e0b798421da00e326 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sat, 17 Sep 2022 11:39:11 +0300 Subject: [PATCH] Compile in parallel, with all available cores --- unixbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unixbuild.sh b/unixbuild.sh index b822e74..01775a2 100755 --- a/unixbuild.sh +++ b/unixbuild.sh @@ -112,7 +112,7 @@ build_tool() { fi if [ "$NOBUILD" != "1" ]; then - make || exit 1 + make -j$(getconf _NPROCESSORS_ONLN) || exit 1 # Move the binary out of the dir if [ "$UPLATFORM" = "win32" ] && [ -f "release/${1}${BINSUFFIX}" ]; then