bscpkgs/bsc/tagaspi/default.nix

47 lines
639 B
Nix
Raw Normal View History

2021-07-13 18:37:04 +08:00
{
stdenv
, automake
, autoconf
, libtool
, mpi
, autoreconfHook
, gaspi
, boost
, numactl
, rdma-core
, gfortran
}:
stdenv.mkDerivation rec {
pname = "tagaspi";
version = src.shortRev;
enableParallelBuilding = true;
2021-07-13 18:37:04 +08:00
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" ];
}