Skip to content

FDS Build: Added --no-libs option to build FDS without third-party libs #13821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 2, 2024
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