From 65c3540ad7a49f3d88da9ca25052b5681232c81f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 3 Jun 2016 17:29:18 +0200 Subject: [PATCH 1/2] HDF5/build: - declaration of dependencies moved to variants file - building of Fortran API enabled - building shared libs enabled - building Python API enabled if major version >= 0 --- HDF5/H5hut/build | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/HDF5/H5hut/build b/HDF5/H5hut/build index cee3e9d..aa27d0b 100755 --- a/HDF5/H5hut/build +++ b/HDF5/H5hut/build @@ -5,19 +5,19 @@ pbuild::pre_configure() { } pbuild::configure() { - CC=$MPICC - CXX=$MPICXX - F77=$MPIF77 - F90=$MPIF90 - FC=$MPIFC - FORTRAN=$MPIFORTRAN - #( cd "${MODULE_SRCDIR}" && ./autogen.sh ) + if (( V_MAJOR >= 2 )); then + config_args+=" --enable-python" + fi + "${MODULE_SRCDIR}"/configure \ --prefix="${PREFIX}" \ --enable-parallel \ --enable-debug \ + --enable-fortran \ + --enable-shared \ --with-hdf5=$HDF5_PREFIX \ --with-pic \ + ${config_args} \ || exit 1 } @@ -33,8 +33,6 @@ pbuild::install() { pbuild::add_to_group 'HDF5' -pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5' -pbuild::set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "${MPI}" "hdf5" pbuild::set_docfiles 'AUTHORS' 'COPYING' pbuild::make_all From d021feff56c36599b368dbc25948e77568a463d6 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 3 Jun 2016 17:29:44 +0200 Subject: [PATCH 2/2] HDF5/H5hut/2/variants: - added --- HDF5/H5hut/2/variants | 1 + 1 file changed, 1 insertion(+) create mode 100644 HDF5/H5hut/2/variants diff --git a/HDF5/H5hut/2/variants b/HDF5/H5hut/2/variants new file mode 100644 index 0000000..606a694 --- /dev/null +++ b/HDF5/H5hut/2/variants @@ -0,0 +1 @@ +H5hut/2.0.0rc1 unstable b:automake/1.14 b:autoconf/2.69 b:libtool/2.4.2 gcc/5.3.0 openmpi/1.10.2 hdf5/1.8.16 b:Python/2.7.11 b:parmetis/4.0.3