bscpkgs/pkgs/tagaspi/default.nix
Aleix Roca Nonell 1e52075c18 TAGASPI 2023.11 update and move to public repo
Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
2023-11-24 16:47:52 +01:00

51 lines
728 B
Nix

{
stdenv
, fetchFromGitHub
, automake
, autoconf
, libtool
, mpi
, autoreconfHook
, gpi-2
, boost
, numactl
, rdma-core
, gfortran
}:
stdenv.mkDerivation rec {
pname = "tagaspi";
enableParallelBuilding = true;
separateDebugInfo = true;
version = "2.0";
src = fetchFromGitHub {
owner = "bsc-pm";
repo = "tagaspi";
rev = "v${version}";
hash = "sha256-RGG/Re2uM293HduZfGzKUWioDtwnSYYdfeG9pVrX9EM=";
};
buildInputs = [
autoreconfHook
automake
autoconf
libtool
boost
mpi
numactl
rdma-core
gfortran
];
dontDisableStatic = true;
configureFlags = [
"--with-gaspi=${gpi-2}"
"CFLAGS=-fPIC"
"CXXFLAGS=-fPIC"
];
hardeningDisable = [ "all" ];
}