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;
|
2020-09-29 16:55:14 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|