Verbose build and check phases

This commit is contained in:
Rodrigo Arias 2022-01-11 18:13:33 +01:00
parent 66f53665dc
commit 3dc03ee5d7

View File

@ -19,6 +19,9 @@ with pkgs;
buildInputs = [ cmake openmpi ];
cmakeBuildType = if (enableDebug) then "Debug" else "Release";
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
buildFlags = [ "VERBOSE=1" ];
checkFlags = [ "CTEST_OUTPUT_ON_FAILURE=1" ];
dontStrip = true;
doCheck = true;
checkTarget = "test";
@ -39,7 +42,7 @@ with pkgs;
-DENABLE_DEBUG_LOG=ON \
-DCMAKE_INSTALL_PREFIX="$curdir/install" ..
make VERBOSE=1
make test
make test CTEST_OUTPUT_ON_FAILURE=1
make install
exit 0
'';