Add bench6 package
This commit is contained in:
parent
91a5bdb344
commit
054d70d23b
25
bsc/bench6/default.nix
Normal file
25
bsc/bench6/default.nix
Normal 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;
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user