bscpkgs/bsc/apps/creams/default.nix

39 lines
489 B
Nix
Raw Normal View History

2020-07-10 16:49:39 +02:00
{
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" ];
2020-07-10 17:02:33 +02:00
configurePhase = ''
2020-07-10 16:49:39 +02:00
export TAMPI_HOME=${tampi}
. etc/bashrc
'';
installPhase = ''
mkdir -p $out/bin
cp -a build/* $out/bin
'';
}