Archived
1
0
forked from rarias/bscpkgs

Move packages from bsc/ to pkgs/

This commit is contained in:
2023-10-02 10:45:10 +02:00
parent 8fe7458969
commit 916e4f49a6
82 changed files with 27 additions and 27 deletions

40
pkgs/gpi-2/default.nix Normal file
View File

@@ -0,0 +1,40 @@
{
stdenv
, slurm
, rdma-core
, autoconf
, automake
, libtool
, mpi
, rsync
, gfortran
}:
stdenv.mkDerivation rec {
pname = "GPI-2";
version = src.shortRev;
src = builtins.fetchGit {
url = "ssh://git@bscpm03.bsc.es/interoperability/GPI-2";
ref = "refs/tags/tagaspi-2021.11";
};
enableParallelBuilding = true;
preConfigure = ''
patchShebangs autogen.sh
./autogen.sh
'';
configureFlags = [
"--with-infiniband=${rdma-core}"
"--with-mpi=${mpi}"
"--with-slurm"
"CFLAGS=-fPIC"
"CXXFLAGS=-fPIC"
];
buildInputs = [ slurm mpi rdma-core autoconf automake libtool rsync gfortran ];
hardeningDisable = [ "all" ];
}