bscpkgs/bsc/bench6/default.nix

32 lines
555 B
Nix

{
stdenv
, cmake
, clangOmpss2Git
, nanos6Git
, nodes
, mpi
, tampiGit
, 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;
};
buildInputs = [ cmake clangOmpss2Git nanos6Git nodes mpi tampiGit ];
enableParallelBuilding = false;
cmakeFlags = [
"-DCMAKE_C_COMPILER=clang"
"-DCMAKE_CXX_COMPILER=clang++"
];
hardeningDisable = [ "all" ];
dontStrip = true;
}