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

39 lines
489 B
Nix

{
stdenv
, nanos6
, mpi
, tampi
, mcxx
, icc
}:
stdenv.mkDerivation rec {
name = "creams";
src = builtins.fetchGit {
url = "ssh://git@bscpm02.bsc.es/pmartin1/creams-simplified.git";
ref = "MPI+OmpSs-2+TAMPI";
};
buildInputs = [
nanos6
mpi
icc
tampi
mcxx
];
hardeningDisable = [ "all" ];
configurePhase = ''
export TAMPI_HOME=${tampi}
. etc/bashrc
'';
installPhase = ''
mkdir -p $out/bin
cp -a build/* $out/bin
'';
}