Skip to content

Commit

Permalink
Merge pull request #13821 from cxp484/master
Browse files Browse the repository at this point in the history
FDS Build: Added --no-libs option to build FDS without third-party libs
  • Loading branch information
mcgratta authored Dec 2, 2024
2 parents aeb949f + 9d9c3b8 commit 685b1bd
Showing 1 changed file with 16 additions and 4 deletions.
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

0 comments on commit 685b1bd

Please sign in to comment.