From: Uwe Köcher Date: Tue, 10 Nov 2015 19:02:53 +0000 (+0100) Subject: deal.II: slepc: check if PETSC_DIR is present X-Git-Tag: v0.8.1~13 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5434ba63f6c5d093f53800ac397bfd4c5f539b5;p=candi.git deal.II: slepc: check if PETSC_DIR is present --- diff --git a/deal.II-toolchain/packages/slepc.package b/deal.II-toolchain/packages/slepc.package index 5222527..f469b65 100644 --- a/deal.II-toolchain/packages/slepc.package +++ b/deal.II-toolchain/packages/slepc.package @@ -7,6 +7,11 @@ BUILDCHAIN=custom INSTALL_PATH=${INSTALL_PATH}/${NAME} +if [ -z "${PETSC_DIR}" ]; then + cecho ${BAD} "slepc: error petsc variable PETSC_DIR not found." + exit 1 +fi + package_specific_setup () { cd ${BUILDDIR} cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .