Add bench6 package

This commit is contained in:
Rodrigo Arias 2023-03-14 14:28:47 +01:00
parent 91a5bdb344
commit 054d70d23b
2 changed files with 26 additions and 0 deletions

25
bsc/bench6/default.nix Normal file
View File

@ -0,0 +1,25 @@
{
stdenv
, clangOmpss2
, 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 = [ clangOmpss2 ];
preInstall = ''
export DESTDIR=$out
'';
hardeningDisable = [ "all" ];
dontStrip = true;
}

View File

@ -302,6 +302,7 @@ let
dummy = callPackage ./bsc/dummy/default.nix { };
mpptest = callPackage ./bsc/mpptest/default.nix { };
cpuid = callPackage ./bsc/cpuid/default.nix { };
bench6 = callPackage ./bsc/bench6/default.nix { };
# =================================================================
# Garlic benchmark