Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions Build/Scripts/build_thirdparty_libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ echo "FIREMODELS=$FIREMODELS"
clean_fds=false
clean_hypre=false
clean_sundials=false
no_libs=false
ARG=""

# Loop through the options
Expand All @@ -41,6 +42,11 @@ while [[ $# -gt 0 ]]; do
clean_sundials=true
shift
;;
--no-libs)
no_libs=true
clean_fds=true
shift
;;
--)
shift
break
Expand Down Expand Up @@ -71,9 +77,15 @@ fi
# FINISHED WITH CLEANING OPTIONS ###########################################


# build hypre
source ../Scripts/HYPRE/build_hypre.sh confmake.sh $clean_hypre
if [ "$no_libs" == false ]; then
# build hypre
source ../Scripts/HYPRE/build_hypre.sh confmake.sh $clean_hypre

## build sundials
source ../Scripts/SUNDIALS/build_sundials.sh confmake.sh $clean_sundials
# build sundials
source ../Scripts/SUNDIALS/build_sundials.sh confmake.sh $clean_sundials
else
unset SUNDIALS_HOME
unset HYPRE_HOME
echo "Building FDS without third-party libraries."
fi