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;
|
2022-04-05 22:34:10 +08:00
|
|
|
enableParallelBuilding = true;
|
2023-11-20 22:43:29 +08:00
|
|
|
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" ];
|
|
|
|
}
|