]> https://gitweb.dealii.org/ - candi.git/commitdiff
unset PETSC_DIR 39/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 3 Jul 2017 08:36:32 +0000 (04:36 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 3 Jul 2017 08:36:32 +0000 (04:36 -0400)
If PETSC_DIR is already set in the environment, configuration of PETSC fails,
so just unset it before.

deal.II-toolchain/packages/petsc.package

index c89696b8b82d2906314402691d32060366f80b42..b0eba727639f990c9658ff577823be88ece8cd48 100644 (file)
@@ -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"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.