forked from rarias/bscpkgs
Add bench6 package
This commit is contained in:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user