forked from rarias/bscpkgs
Add lulesh app
This commit is contained in:
31
bsc/apps/lulesh/default.nix
Normal file
31
bsc/apps/lulesh/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
stdenv
|
||||
, mpi
|
||||
, mcxx
|
||||
, icc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lulesh";
|
||||
|
||||
src = builtins.fetchGit {
|
||||
url = "ssh://git@bscpm02.bsc.es/mmaronas/lulesh.git";
|
||||
ref = "master";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
buildInputs = [
|
||||
mpi
|
||||
icc
|
||||
mcxx
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
find . -name 'lulesh*' -type f -executable -exec cp \{\} $out/bin/ \;
|
||||
'';
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user