Skip to content

Commit

Permalink
fixed incomplete if blocks for SCHISM component in the scripts/functi…
Browse files Browse the repository at this point in the history
…ons_build file
  • Loading branch information
pvelissariou1 committed Sep 13, 2023
1 parent 65b8ca6 commit 8046a56
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/functions_build
Original file line number Diff line number Diff line change
Expand Up @@ -740,22 +740,27 @@ UsageBuild()
# by using the --thirdparty="parmetis" option. We issue a warning here to let the user
# know that he/she might need to specify this library.
if [[ ":${chk_component}:" == *:"SCHISM":* ]]; then

#################### BEG :: TO BE MOVED? ####################
# This block might need to be moved elsewhere in th build system
if [ -n "${USE_PAHM}" ]; then
USE_PAHM="$( getYesNo "${USE_PAHM}" )"
if [ -z "${USE_PAHM}" -o "${USE_PAHM}" == "no" ]; then
export USE_PAHM=
else
export USE_PAHM=ON
export USE_PAHM=ON
fi
fi

if [ -n "${NO_PARMETIS}" ]; then
NO_PARMETIS="$( getYesNo "${NO_PARMETIS}" )"
if [ -z "${NO_PARMETIS}" -o "${NO_PARMETIS}" == "no" ]; then
export NO_PARMETIS=
else
export NO_PARMETIS=ON
export NO_PARMETIS=ON
fi
fi
#################### END:: TO BE MOVED? ####################

if [ -z "${NO_PARMETIS}" ]; then
if ! $( checkSUBSTR "${tmp_thirdparty}" PARMETIS ) && \
Expand Down

0 comments on commit 8046a56

Please sign in to comment.