Merge pull request #50527 from matthewbauer/ninja-check-phase

Add check phase to ninja setup hook
This commit is contained in:
Matthew Bauer
2018-11-20 16:55:12 -06:00
committed by GitHub
26 changed files with 59 additions and 88 deletions
@@ -15,6 +15,11 @@ fixCmakeFiles() {
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 .
fi