Move apps to garlic

This commit is contained in:
2020-09-22 17:41:40 +02:00
parent c5e225c778
commit 58e6c76349
10 changed files with 53 additions and 9 deletions

31
garlic/lulesh/default.nix Normal file
View 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/ \;
'';
}