Use autoreconfHook for TAMPI

This commit is contained in:
Rodrigo Arias 2020-06-26 10:16:41 +02:00
parent 67c692b648
commit bd9788961b

View File

@ -7,18 +7,15 @@
, gnumake , gnumake
, boost , boost
, mpi , mpi
, gcc}: , gcc
, autoreconfHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.1"; version = "1.0.1";
name = "tampi-${version}"; name = "tampi-${version}";
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ automake autoconf libtool gnumake boost mpi gcc ]; buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
#hardeningDisable = [ "format" ];
preConfigure = ''
autoreconf -fiv
'';
dontDisableStatic = true; dontDisableStatic = true;
configureFlags = [ "--disable-mpi-mt-check" ]; configureFlags = [ "--disable-mpi-mt-check" ];
src = fetchurl { src = fetchurl {