bscpkgs/bsc/bench6/default.nix

32 lines
555 B
Nix
Raw Normal View History

2023-03-14 14:28:47 +01:00
{
stdenv
2023-05-19 18:33:37 +02:00
, cmake
2023-05-18 20:40:29 +02:00
, clangOmpss2Git
, nanos6Git
, nodes
, mpi
, tampiGit
2023-03-14 14:28:47 +01:00
, gitBranch ? "master"
, gitURL ? "ssh://git@bscpm03.bsc.es/rarias/bench6.git"
}:
stdenv.mkDerivation rec {
pname = "bench6";
version = "${src.shortRev}";
src = builtins.fetchGit {
url = gitURL;
ref = gitBranch;
};
2023-05-19 18:33:37 +02:00
buildInputs = [ cmake clangOmpss2Git nanos6Git nodes mpi tampiGit ];
2023-03-14 14:28:47 +01:00
2023-05-19 18:33:37 +02:00
enableParallelBuilding = false;
cmakeFlags = [
"-DCMAKE_C_COMPILER=clang"
"-DCMAKE_CXX_COMPILER=clang++"
];
2023-03-14 14:28:47 +01:00
hardeningDisable = [ "all" ];
dontStrip = true;
}