File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ echo "FIREMODELS=$FIREMODELS"
1616clean_fds=false
1717clean_hypre=false
1818clean_sundials=false
19+ no_libs=false
1920ARG=" "
2021
2122# Loop through the options
@@ -41,6 +42,11 @@ while [[ $# -gt 0 ]]; do
4142 clean_sundials=true
4243 shift
4344 ;;
45+ --no-libs)
46+ no_libs=true
47+ clean_fds=true
48+ shift
49+ ;;
4450 --)
4551 shift
4652 break
7177# FINISHED WITH CLEANING OPTIONS ###########################################
7278
7379
74- # build hypre
75- source ../Scripts/HYPRE/build_hypre.sh confmake.sh $clean_hypre
80+ if [ " $no_libs " == false ]; then
81+ # build hypre
82+ source ../Scripts/HYPRE/build_hypre.sh confmake.sh $clean_hypre
7683
77- # # build sundials
78- source ../Scripts/SUNDIALS/build_sundials.sh confmake.sh $clean_sundials
84+ # build sundials
85+ source ../Scripts/SUNDIALS/build_sundials.sh confmake.sh $clean_sundials
86+ else
87+ unset SUNDIALS_HOME
88+ unset HYPRE_HOME
89+ echo " Building FDS without third-party libraries."
90+ fi
7991
You can’t perform that action at this time.
0 commit comments