summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Heitzmann Gabrielli2018-05-21 13:47:32 -0300
committerLucas Heitzmann Gabrielli2018-05-21 13:47:32 -0300
commit12e02458042e082d98003252f6da43fec2ced273 (patch)
tree27cb386a521fa89cc8a11630315a1aafb8fd4809
parente522557a8013fcd44286f1139f898589b212653c (diff)
downloadaur-12e02458042e082d98003252f6da43fec2ced273.tar.gz
PETSC_ARCH messes up slepc
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--petsc.install2
3 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 28c4246ff363..9212c15aa11a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = petsc
pkgdesc = Portable, extensible toolkit for scientific computation
pkgver = 3.9.2
- pkgrel = 1
+ pkgrel = 2
url = https://www.mcs.anl.gov/petsc/
install = petsc.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index fa68d2ab246e..b0b922ab1621 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Lucas H. Gabrielli <heitzmann at gmail dot com>
pkgname=petsc
pkgver=3.9.2
-pkgrel=1
+pkgrel=2
_config=linux-c-opt
# if --with-debugging=yes is set then PETSC_ARCH is automatically set to
#"linux-c-debug" for some things, so the _config should be changed too
@@ -116,7 +116,7 @@ package() {
mkdir -p ${pkgdir}/etc/profile.d
echo "export PETSC_DIR=${_install_dir}" > ${pkgdir}/etc/profile.d/petsc.sh
- echo "export PETSC_ARCH=${_petsc_arch}" >> ${pkgdir}/etc/profile.d/petsc.sh
+ #echo "export PETSC_ARCH=${_petsc_arch}" >> ${pkgdir}/etc/profile.d/petsc.sh
chmod +x ${pkgdir}/etc/profile.d/petsc.sh
# show where the shared libraries are
diff --git a/petsc.install b/petsc.install
index 1d1c7dbf94c7..061fa062d5f2 100644
--- a/petsc.install
+++ b/petsc.install
@@ -3,7 +3,7 @@ post_install() {
# set the PETSC_DIR
source /etc/profile.d/petsc.sh
export PETSC_DIR=${PETSC_DIR}
-export PETSC_ARCH=${PETSC_ARCH}
+#export PETSC_ARCH=${PETSC_ARCH}
noVersion=${1%%-[1-9]}
rootDir=${noVersion/_/-}