From: Uwe Köcher Date: Tue, 10 Nov 2015 19:34:08 +0000 (+0100) Subject: dealii-prepare: more verbose output for forced skipped packages X-Git-Tag: v0.8.1~8 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6d14861898b3fff4de78a23ff08686f9e87b0b;p=candi.git dealii-prepare: more verbose output for forced skipped packages --- diff --git a/deal.II-toolchain/packages/dealii-prepare.package b/deal.II-toolchain/packages/dealii-prepare.package index fa3df42..89c3285 100644 --- a/deal.II-toolchain/packages/dealii-prepare.package +++ b/deal.II-toolchain/packages/dealii-prepare.package @@ -1,17 +1,19 @@ NAME=dealii-prepare BUILDCHAIN=ignore -######################################################################### +################################################################################ # Loop over the options in DEAL_CONFOPTS and if the package is turned off, add # it to the PACKAGES_OFF list. -for PACKAGE in ${DEAL_CONFOPTS[@]}; do - case ${PACKAGE} in +for option in ${DEAL_CONFOPTS[@]}; do + case ${option} in *DEAL_II_WITH*:BOOL=OFF) - PACKAGE_NAME=${PACKAGE##*WITH_}; + PACKAGE_NAME=${option##*WITH_}; PACKAGE_NAME=${PACKAGE_NAME%%:BOOL*}; PACKAGES_OFF=${PACKAGE_NAME}' '${PACKAGES_OFF};; esac done +unset option +unset PACKAGE_NAME # Turn off ParMETIS and SuperLU_dist if metis is off. if [[ ${PACKAGES_OFF} =~ 'METIS' ]]; then @@ -30,4 +32,9 @@ fi # Transform upper case to lower case. PACKAGES_OFF=${PACKAGES_OFF,,} +if [ ! -z "${PACKAGES_OFF}" ]; then + cecho ${INFO} "deal.II: forcing package skip for: ${PACKAGES_OFF}" + read +fi + PACKAGE=dealii-prepare