From 7e3d336ffcbbc63f0831ff0a9b6f3fd842690379 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 28 Aug 2022 03:17:22 +0300 Subject: [PATCH 49/49] winbuild.sh: Scale default number of jobs to number of cores See osdn #43949 Signed-off-by: Marko Lindqvist --- windows/installer_cross/winbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/installer_cross/winbuild.sh b/windows/installer_cross/winbuild.sh index 985061c48e..41e5513512 100755 --- a/windows/installer_cross/winbuild.sh +++ b/windows/installer_cross/winbuild.sh @@ -99,7 +99,7 @@ if test "x$NAMEP" = "x" ; then fi if test "x$MAKE_PARAMS" = "x" ; then - MAKE_PARAMS="-j6" + MAKE_PARAMS="-j$(nproc)" fi if ! mkdir -p build-${SETUP}${NAMEP} ; then -- 2.35.1