bscpkgs/bsc/bench6/default.nix

34 lines
615 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-09-07 09:11:52 +02:00
, clangOmpss2
, nanos6
2023-05-18 20:40:29 +02:00
, nodes
, mpi
2023-09-07 09:11:52 +02:00
, tampi
2023-03-14 14:28:47 +01:00
, gitBranch ? "master"
, gitURL ? "ssh://git@bscpm03.bsc.es/rarias/bench6.git"
2023-09-07 09:08:36 +02:00
, gitCommit ? "1e6ce2aa8ad7b4eef38df1581d7ec48a8815f85d"
2023-03-14 14:28:47 +01:00
}:
stdenv.mkDerivation rec {
pname = "bench6";
version = "${src.shortRev}";
src = builtins.fetchGit {
url = gitURL;
ref = gitBranch;
2023-09-07 09:08:36 +02:00
rev = gitCommit;
2023-03-14 14:28:47 +01:00
};
2023-09-07 09:11:52 +02:00
buildInputs = [ cmake clangOmpss2 nanos6 nodes mpi tampi ];
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;
}