Compile in parallel, with all available cores

This commit is contained in:
ValdikSS 2022-09-17 11:39:11 +03:00 committed by Nikolaj Schlej
parent 26a2f46197
commit d1032d59fd

View File

@ -112,7 +112,7 @@ build_tool() {
fi fi
if [ "$NOBUILD" != "1" ]; then if [ "$NOBUILD" != "1" ]; then
make || exit 1 make -j$(getconf _NPROCESSORS_ONLN) || exit 1
# Move the binary out of the dir # Move the binary out of the dir
if [ "$UPLATFORM" = "win32" ] && [ -f "release/${1}${BINSUFFIX}" ]; then if [ "$UPLATFORM" = "win32" ] && [ -f "release/${1}${BINSUFFIX}" ]; then