From b18cb02ed1d7c4b438738f0725973034c28f836f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 18 Apr 2018 14:10:04 +0200 Subject: [PATCH] H5hut/build - compile without Fortran support if we use clang-macos --- HDF5/H5hut/build | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/HDF5/H5hut/build b/HDF5/H5hut/build index ddb0b15..51bad84 100755 --- a/HDF5/H5hut/build +++ b/HDF5/H5hut/build @@ -14,12 +14,19 @@ pbuild::configure() { if (( V_MAJOR >= 2 )); then : config_args+=" --enable-python" fi + case "${COMPILER}" in + "clang-macos" ) + : + ;; + * ) + config_args+='--enable-fortran' + ;; + esac "${MODULE_SRCDIR}"/configure \ --prefix="${PREFIX}" \ --enable-parallel \ --enable-debug \ - --enable-fortran \ --enable-shared \ --with-hdf5=$HDF5_PREFIX \ --with-pic \