Fix TAMPI derivation

This commit is contained in:
Rodrigo Arias 2020-06-15 12:45:16 +02:00
parent 98b51cfa6d
commit fbbdf0740a
2 changed files with 16 additions and 18 deletions

View File

@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
preConfigure = '' preConfigure = ''
export NANOS6_HOME="${nanos6}" export NANOS6_HOME="${nanos6}"
export TAMPI_HOME="${tampi}"
''; '';
#enableParallelBuilding = true; #enableParallelBuilding = true;
@ -44,7 +45,7 @@ stdenv.mkDerivation rec {
uthash uthash
# llvmPackages_10.bintools # llvmPackages_10.bintools
fftw fftw
# tampi tampi
hdf5 hdf5
libgcc libgcc
strace strace

View File

@ -9,12 +9,8 @@
, mpi , mpi
, gcc}: , gcc}:
let stdenv.mkDerivation rec {
inherit stdenv fetchurl;
version = "1.0.1"; version = "1.0.1";
in
{
hello = stdenv.mkDerivation rec {
name = "tampi-${version}"; name = "tampi-${version}";
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ automake autoconf libtool gnumake boost mpi gcc ]; buildInputs = [ automake autoconf libtool gnumake boost mpi gcc ];
@ -22,10 +18,11 @@ in
preConfigure = '' preConfigure = ''
autoreconf -fiv autoreconf -fiv
''; '';
dontDisableStatic = true;
configureFlags = [ "--disable-mpi-mt-check" ]; configureFlags = [ "--disable-mpi-mt-check" ];
src = fetchurl { src = fetchurl {
url = "https://github.com/bsc-pm/tampi/archive/v${version}.tar.gz"; url = "https://github.com/bsc-pm/tampi/archive/v${version}.tar.gz";
sha256 = "8608a74325939d2a6b56e82f7f6788efbc67731e2d64793bac69475f5b4b9704"; sha256 = "8608a74325939d2a6b56e82f7f6788efbc67731e2d64793bac69475f5b4b9704";
}; };
};
} }