cmake: also set CTEST_PARALLEL_LEVEL
This commit is contained in:
parent
285eb9a894
commit
70e2b0bef0
@ -16,6 +16,9 @@ cmakeConfigurePhase() {
|
||||
runHook preConfigure
|
||||
|
||||
export CTEST_OUTPUT_ON_FAILURE=1
|
||||
if [ -n "${enableParallelChecking-1}" ]; then
|
||||
export CTEST_PARALLEL_LEVEL=$NIX_BUILD_CORES
|
||||
fi
|
||||
|
||||
if [ -z "$dontFixCmake" ]; then
|
||||
fixCmakeFiles .
|
||||
|
Loading…
Reference in New Issue
Block a user