H5hut/build

- compile without Fortran support if we use clang-macos
This commit is contained in:
2018-04-18 14:10:04 +02:00
parent 196f9c7774
commit b18cb02ed1

View File

@@ -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 \