File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed
Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ cmake ../ \
1010-DCMAKE_INSTALL_PREFIX=$HYPRE_INSTALL_PREFIX \
1111-DCMAKE_C_COMPILER=$CC \
1212-DCMAKE_C_FLAGS=$C_FLAGS \
13- -DCMAKE_INSTALL_LIBDIR=" lib"
13+ -DCMAKE_INSTALL_LIBDIR=" lib"
14+ # -DCMAKE_OSX_DEPLOYMENT_TARGET="14.0"
15+
16+ # ./configure CC=$CC FC=mpiifort CFLAGS="-O3 -fno-unsafe-math-optimizations -fp-model=precise" FFLAGS="-O3 -fno-unsafe-math-optimizations -fp-model=precise" \
17+ # --prefix=$FIREMODELS/libs/hypre/$HYPRE_VERSION
1418
1519make install
Original file line number Diff line number Diff line change 11# PARSE OPTIONS FOR CLEAN LIBRARY BUILDS ####################################
22
33# Parse the long options first using getopt
4- OPTIONS=$( getopt -o " " --long clean-hypre,clean-sundials -- " $@ " )
4+ # OPTIONS=$(getopt -o "" --long clean-hypre,clean-sundials -- "$@")
55
66# Check if getopt parsed successfully
7- if [ $? -ne 0 ]; then
8- echo " Error parsing options."
9- exit 1
10- fi
7+ # if [ $? -ne 0 ]; then
8+ # echo "Error parsing options."
9+ # exit 1
10+ # fi
1111
1212# Evaluate the parsed options
13- eval set -- " $OPTIONS "
13+ # eval set -- "$OPTIONS"
1414
1515# Initialize variables for options
1616clean_hypre=false
1717clean_sundials=false
1818ARG=" "
1919
2020# Loop through the options
21- while true ; do
21+ while [[ $# -gt 0 ]] ; do
2222 case " $1 " in
2323 --clean-hypre)
2424 clean_hypre=true # Set the flag to true when --clean-hypre is used
You can’t perform that action at this time.
0 commit comments