bscpkgs/bsc/tagaspi/default.nix
2022-04-05 15:34:10 +01:00

47 lines
639 B
Nix

{
stdenv
, automake
, autoconf
, libtool
, mpi
, autoreconfHook
, gaspi
, boost
, numactl
, rdma-core
, gfortran
}:
stdenv.mkDerivation rec {
pname = "tagaspi";
version = src.shortRev;
enableParallelBuilding = true;
buildInputs = [
autoreconfHook
automake
autoconf
libtool
boost
mpi
numactl
rdma-core
gfortran
];
dontDisableStatic = true;
configureFlags = [
"--with-gaspi=${gaspi}"
"CFLAGS=-fPIC"
"CXXFLAGS=-fPIC"
];
src = builtins.fetchGit {
url = "ssh://git@bscpm03.bsc.es/interoperability/tagaspi";
ref = "master";
};
hardeningDisable = [ "all" ];
}