Add garlic group

This commit is contained in:
2020-07-24 13:24:30 +02:00
parent ac1523d946
commit bad6f3c761
4 changed files with 42 additions and 5 deletions

View File

@@ -0,0 +1,24 @@
{
stdenv
, mpi
, fetchurl
}:
stdenv.mkDerivation {
name = "ppong";
src = fetchurl {
url = "http://www.csl.mtu.edu/cs4331/common/PPong.c";
sha256 = "0d1w72gq9627448cb7ykknhgp2wszwd117dlbalbrpf7d0la8yc0";
};
dontUnpack = true;
buildPhase = ''
pwd
ls -la
mpicc PPong.c -o ppong
'';
buildInputs = [ mpi ];
}