bscpkgs/pkgs/tagaspi/default.nix

51 lines
728 B
Nix
Raw Normal View History

2021-07-13 18:37:04 +08:00
{
stdenv
, fetchFromGitHub
2021-07-13 18:37:04 +08:00
, 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";
enableParallelBuilding = true;
separateDebugInfo = true;
2021-07-13 18:37:04 +08:00
version = "2.0";
src = fetchFromGitHub {
owner = "bsc-pm";
repo = "tagaspi";
rev = "v${version}";
hash = "sha256-RGG/Re2uM293HduZfGzKUWioDtwnSYYdfeG9pVrX9EM=";
};
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"
];
hardeningDisable = [ "all" ];
}