bscpkgs/pkgs/tagaspi/default.nix

49 lines
732 B
Nix
Raw Normal View History

2021-07-13 18:37:04 +08:00
{
stdenv
, automake
, autoconf
, libtool
, mpi
, autoreconfHook
2023-10-02 16:38:49 +08:00
, gpi-2
2021-07-13 18:37:04 +08:00
, boost
, numactl
, rdma-core
, gfortran
}:
stdenv.mkDerivation rec {
pname = "tagaspi";
version = src.shortRev;
enableParallelBuilding = true;
separateDebugInfo = true;
2021-07-13 18:37:04 +08:00
buildInputs = [
autoreconfHook
automake
autoconf
libtool
boost
mpi
numactl
rdma-core
gfortran
];
dontDisableStatic = true;
configureFlags = [
2023-10-02 16:38:49 +08:00
"--with-gaspi=${gpi-2}"
2021-07-13 18:37:04 +08:00
"CFLAGS=-fPIC"
"CXXFLAGS=-fPIC"
];
src = builtins.fetchGit {
url = "ssh://git@bscpm03.bsc.es/interoperability/tagaspi";
2023-10-06 20:34:03 +08:00
ref = "refs/tags/2021.11";
rev = "5aabb1849de2e512cc8729f32783051ecd4cab97";
2021-07-13 18:37:04 +08:00
};
hardeningDisable = [ "all" ];
}