We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0092988 commit 935a188Copy full SHA for 935a188
external_deps/build.sh
@@ -1556,9 +1556,9 @@ fi
1556
CURL="$(command -v curl)" || log ERROR "Command 'curl' not found"
1557
1558
# Enable parallel build
1559
-export MAKEFLAGS="-j`nproc 2> /dev/null || sysctl -n hw.ncpu 2> /dev/null || echo 1`"
+export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 1)"
1560
+export MAKEFLAGS="-j${CMAKE_BUILD_PARALLEL_LEVEL}"
1561
export SCONSFLAGS="${MAKEFLAGS}"
-export CMAKE_BUILD_PARALLEL_LEVEL="$(nproc 2> /dev/null || sysctl -n hw.ncpu 2> /dev/null || echo 1)"
1562
1563
# Setup platform
1564
platform="${1}"; shift
0 commit comments