]> https://gitweb.dealii.org/ - candi.git/commitdiff
Update package hdf5
authorFabian Castelli <fabian.castelli@kit.edu>
Mon, 7 Jun 2021 14:05:07 +0000 (16:05 +0200)
committerFabian Castelli <fabian.castelli@kit.edu>
Tue, 8 Feb 2022 15:20:12 +0000 (16:20 +0100)
deal.II-toolchain/packages/dealii.package
deal.II-toolchain/packages/hdf5.package

index 58d399bf41d666e7fef86d89ab62b7e1492ca2cb..8f0cee356fdfa14eeb9ebd6b60af0dbbf44df91d 100644 (file)
@@ -147,10 +147,9 @@ if [ ! -z "${P4EST_DIR}" ]; then
       -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
@@ -159,10 +158,8 @@ fi
 
 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
 
 ########################################
index 50a1c2b36cc4f50bf19f3dd472d8928a5f99d51e..97cf59f80b36de962d5735f868f78d37753d5993 100644 (file)
@@ -1,11 +1,15 @@
-#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/
@@ -23,9 +27,8 @@ package_specific_register () {
 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
 }
-

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.