public
Last active

Patchfile to update petsc AUR PKGBUILD and petsc.install to petsc 3.4.1

  • Download Gist
petsc-3.4.1.patch
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
diff -Naurp petsc/petsc.install petsc.new/petsc.install
--- petsc/petsc.install 2013-02-13 01:17:59.000000000 +0000
+++ petsc.new/petsc.install 2013-06-11 11:56:25.848801146 +0000
@@ -12,7 +12,7 @@ cat << EOF
If you just ran makepkg in this directory then
to test the PETSc installation you can run:
-$ cd src/petsc-3.3-p6/; make PETSC_DIR=$PETSC_DIR test
+$ cd src/petsc-3.4.1/; make PETSC_DIR=$PETSC_DIR test
EOF
}
diff -Naurp petsc/PKGBUILD petsc.new/PKGBUILD
--- petsc/PKGBUILD 2013-05-14 20:21:42.000000000 +0000
+++ petsc.new/PKGBUILD 2013-06-11 11:56:14.698801200 +0000
@@ -2,7 +2,7 @@
# Some copied from from dorsal-1.0-beta2/FEniCS/packages/petsc.package
# Try: git clone git@github.com:mylese/petsc-arch.git
pkgname=petsc
-pkgver=3.4
+pkgver=3.4.1
pkgrel=1
_config=arch-linux2-cxx-opt
# if --with-debugging=yes is set then PETSC_ARCH is automatically set to
@@ -16,7 +16,7 @@ depends=('python2' 'openmpi' 'boost' 'bl
makedepends=('gcc' 'gcc-fortran')
install=petsc.install
source=(http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${pkgname}-${pkgver/_/-}.tar.gz)
-md5sums=('a643f77289a21176baf8ec95af85cc37')
+md5sums=('45f45bd9e2af5b52c9b61ef211c18de2')
_install_dir=/opt/petsc/${_config}
@@ -31,7 +31,7 @@ export MAKEFLAGS="-j1"
# aur/scotch_esmumps 6.0.0-1
build() {
- _build_dir="${srcdir}/${pkgname}-${pkgver/_/-}.0"
+ _build_dir="${srcdir}/${pkgname}-${pkgver/_/-}"
cd ${_build_dir}
#patch -Np1 -i ${startdir}/patch_debug.diff
@@ -92,7 +92,7 @@ build() {
}
package() {
- _build_dir="${srcdir}/${pkgname}-${pkgver/_/-}.0"
+ _build_dir="${srcdir}/${pkgname}-${pkgver/_/-}"
cd ${_build_dir}
echo "make ${MAKEFLAGS} PETSC_DIR=${_build_dir} PETSC_ARCH=${_config} install"
export PETSC_DIR=${_build_dir}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.