bscpkgs/bsc/tampi/default.nix

26 lines
586 B
Nix
Raw Normal View History

2020-06-08 18:01:33 +02:00
{
stdenv
, fetchurl
, automake
, autoconf
, libtool
, gnumake
, boost
, mpi
2020-06-26 10:16:41 +02:00
, gcc
, autoreconfHook
}:
2020-06-08 18:01:33 +02:00
2020-06-15 12:45:16 +02:00
stdenv.mkDerivation rec {
2020-06-08 18:01:33 +02:00
version = "1.0.1";
2020-06-15 12:45:16 +02:00
name = "tampi-${version}";
enableParallelBuilding = true;
2020-06-26 10:16:41 +02:00
buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
2020-06-15 12:45:16 +02:00
dontDisableStatic = true;
configureFlags = [ "--disable-mpi-mt-check" "CXXFLAGS=-DOMPI_SKIP_MPICXX=1" ];
2020-06-15 12:45:16 +02:00
src = fetchurl {
url = "https://github.com/bsc-pm/tampi/archive/v${version}.tar.gz";
sha256 = "8608a74325939d2a6b56e82f7f6788efbc67731e2d64793bac69475f5b4b9704";
2020-06-08 18:01:33 +02:00
};
}