bscpkgs/garlic/lulesh/default.nix
Rodrigo Arias Mallo 58e6c76349 Move apps to garlic
2020-09-22 17:41:40 +02:00

32 lines
425 B
Nix

{
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/ \;
'';
}