-D P4EST_DIR=${P4EST_DIR}"
fi
-# hdf5
+########################################
+# HDF5
if [[ ${PACKAGES_OFF} =~ 'hdf5' ]]; then
- # Disable hdf5 for deal.II, if a special DEAL_II_CONFOPTS together with
- # the dealii-prepare loop forces hdf5 to be off
if [ ! -z "${HDF5_DIR}" ]; then
cecho ${INFO} "deal.II: unset HDF5_DIR due to forced DEAL_II_WITH_HDF5:BOOL=OFF option"
unset HDF5_DIR
if [ ! -z "${HDF5_DIR}" ]; then
cecho ${INFO} "deal.II: configuration with HDF5"
- CONFOPTS="\
- ${CONFOPTS} \
- -D DEAL_II_WITH_HDF5:BOOL=ON \
- -D HDF5_DIR=${HDF5_DIR}"
+ CONFOPTS="${CONFOPTS} \
+ -D DEAL_II_WITH_HDF5:BOOL=ON"
fi
########################################
-#MAJORVER=1.10
-#MINORVER=5
-#CHECKSUM=e115eeb66e944fa7814482415dd21cc4
+################################################################################
+## HDF5 ##
+################################################################################
MAJORVER=1.10
MINORVER=7
CHECKSUM=006ed785942f4ed9a6f31556d0ef8ba5
+# MAJORVER=1.10
+# MINORVER=5
+# CHECKSUM=e115eeb66e944fa7814482415dd21cc4
+
VERSION=${MAJORVER}.${MINORVER}
NAME=hdf5-${VERSION}
SOURCE=http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-${MAJORVER}/${NAME}/src/
package_specific_conf () {
# Generate configuration file
CONFIG_FILE=${CONFIGURATION_PATH}/${NAME}
- rm -f $CONFIG_FILE
+ rm -f ${CONFIG_FILE}
echo "
export HDF5_DIR=${INSTALL_PATH}
" >> $CONFIG_FILE
}
-