summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
-rw-r--r--petsc.install6
3 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6ff8786606ea..aaeb98def41f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Apr 21 13:34:06 UTC 2016
+# Tue Apr 26 12:43:29 UTC 2016
pkgbase = petsc
pkgdesc = Portable, extensible toolkit for scientific computation
- pkgver = 3.6.4
+ pkgver = 3.7.0
pkgrel = 1
url = http://www.mcs.anl.gov/petsc/petsc-as
install = petsc.install
@@ -26,9 +26,9 @@ pkgbase = petsc
optdepends = mumps: support for the mumps sparse solver
optdepends = fftw: support for the fftw fast Fourier transform
options = staticlibs
- source = http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.6.4.tar.gz
+ source = http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.7.0.tar.gz
source = test_optdepends.sh
- md5sums = 7632da2375a3df35b8891c9526dbdde7
+ md5sums = 9a4e3c2443f6d436efc2c65c77a0c369
md5sums = e60925d1f552303198106bf98eb2bfa5
pkgname = petsc
diff --git a/PKGBUILD b/PKGBUILD
index dab1286a69ab..55b73c694505 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Myles English <myles at rockhead dot biz>
pkgname=petsc
-pkgver=3.6.4
+pkgver=3.7.0
pkgrel=1
_config=linux-c-opt
# if --with-debugging=yes is set then PETSC_ARCH is automatically set to
@@ -25,7 +25,7 @@ optdepends=('trilinos: support for trilinos'
)
install=petsc.install
source=(http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${pkgname}-${pkgver/_/-}.tar.gz test_optdepends.sh)
-md5sums=('7632da2375a3df35b8891c9526dbdde7'
+md5sums=('9a4e3c2443f6d436efc2c65c77a0c369'
'e60925d1f552303198106bf98eb2bfa5')
_install_dir=/opt/petsc/${_config}
diff --git a/petsc.install b/petsc.install
index 2c2837e290ca..9bbe4bb528e0 100644
--- a/petsc.install
+++ b/petsc.install
@@ -4,15 +4,15 @@ post_install() {
source /etc/profile.d/petsc.sh
export PETSC_DIR=${PETSC_DIR}
-#noVersion=${1%%-[1-9]}
-#rootDir=${noVersion/_/-}
+noVersion=${1%%-[1-9]}
+rootDir=${noVersion/_/-}
cat << EOF
If you just ran makepkg in this directory then
to test the PETSc installation you can run:
-$ cd src/petsc-3.6.4/; make PETSC_DIR=$PETSC_DIR test
+$ cd src/petsc-${rootDir}/; make PETSC_DIR=$PETSC_DIR test
EOF
}