summarylogtreecommitdiffstats
path: root/petsc.install
diff options
context:
space:
mode:
Diffstat (limited to 'petsc.install')
-rw-r--r--petsc.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/petsc.install b/petsc.install
index 9bbe4bb528e0..1d1c7dbf94c7 100644
--- a/petsc.install
+++ b/petsc.install
@@ -3,6 +3,7 @@ post_install() {
# set the PETSC_DIR
source /etc/profile.d/petsc.sh
export PETSC_DIR=${PETSC_DIR}
+export PETSC_ARCH=${PETSC_ARCH}
noVersion=${1%%-[1-9]}
rootDir=${noVersion/_/-}
@@ -17,4 +18,8 @@ $ cd src/petsc-${rootDir}/; make PETSC_DIR=$PETSC_DIR test
EOF
}
+post_upgrade() {
+post_install
+}
+
# vim:set ts=2 sw=2 et: