From 33ee899c0b36bedc70bcfe6e898cd2cf4d5579c5 Mon Sep 17 00:00:00 2001 From: Gator96100 Date: Thu, 2 Jul 2020 23:28:58 +0200 Subject: [PATCH] Using multithreading --- msys2/ps/autobuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msys2/ps/autobuild.sh b/msys2/ps/autobuild.sh index d0f102e0f..15a13d55a 100644 --- a/msys2/ps/autobuild.sh +++ b/msys2/ps/autobuild.sh @@ -28,7 +28,7 @@ for i in $( ls -d */ ); do date=$(date +%Y%m%d) if ! ls $copyDir/${i%%/}-$arch/*-$hash.7z 1> /dev/null 2>&1; then make clean - make all + make all -j$(nproc) if [ $? -eq 0 ]; then rm -rf $buildDir/${i%%/}/* mkdir -p $copyDir/${i%%/}-$arch/