From: Timo Heister Date: Mon, 3 Jul 2017 08:36:32 +0000 (-0400) Subject: unset PETSC_DIR X-Git-Tag: v0.8.5~9^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65e379daef8ae4794f34e425c1c208528945aa54;p=candi.git unset PETSC_DIR If PETSC_DIR is already set in the environment, configuration of PETSC fails, so just unset it before. --- diff --git a/deal.II-toolchain/packages/petsc.package b/deal.II-toolchain/packages/petsc.package index c89696b..b0eba72 100644 --- a/deal.II-toolchain/packages/petsc.package +++ b/deal.II-toolchain/packages/petsc.package @@ -72,6 +72,9 @@ fi package_specific_setup () { cd ${BUILDDIR} cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* . + + # make sure no other invalid PETSC_DIR is set: + unset PETSC_DIR ./configure --prefix=${INSTALL_PATH} ${CONFOPTS} quit_if_fail "petsc ./configure failed"