Update bench6 to use cmake

This commit is contained in:
Rodrigo Arias 2023-05-19 18:33:37 +02:00
parent 9a500dd3d6
commit 1d788aeff2

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, cmake
, clangOmpss2Git , clangOmpss2Git
, nanos6Git , nanos6Git
, nodes , nodes
@ -18,8 +19,13 @@ stdenv.mkDerivation rec {
ref = gitBranch; ref = gitBranch;
}; };
buildInputs = [ clangOmpss2Git nanos6Git nodes mpi tampiGit ]; buildInputs = [ cmake clangOmpss2Git nanos6Git nodes mpi tampiGit ];
enableParallelBuilding = false;
cmakeFlags = [
"-DCMAKE_C_COMPILER=clang"
"-DCMAKE_CXX_COMPILER=clang++"
];
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];
dontStrip = true; dontStrip = true;
} }