summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-01-12 13:18:37 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-01-12 13:18:37 +1300
commit4f1a64410bbbb96c24ee8437a6e38e381c55d237 (patch)
tree8c0552a6f3c51cda36c302599ef47291d9e22cd1
parenta15acb1f77b4184a153472f8ec40c241185ddf90 (diff)
Update to v6.0.9.HEADmaster
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD20
2 files changed, 13 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4882df1..acc87d1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = scotch
pkgdesc = Software package and libraries for graph, mesh and hypergraph partitioning, static mapping, and sparse matrix block ordering. This is the all-inclusive version (MPI/serial/esmumps).
- pkgver = 6.0.6
+ pkgver = 6.0.9
pkgrel = 1
- url = http://www.labri.fr/perso/pelegrin/scotch/
+ url = https://gitlab.inria.fr/scotch/scotch
arch = i686
arch = x86_64
license = custom:CeCILL-C
@@ -16,8 +16,8 @@ pkgbase = scotch
conflicts = ptscotch-openmpi
conflicts = scotch_esmumps
conflicts = scotch_esmumps5
- source = https://gitlab.inria.fr/scotch/scotch/-/archive/v6.0.6/scotch-v6.0.6.tar.gz
- sha256sums = e932b4c04636fcf5d21b9a76376868de052c9b000bdaf96f8967dcec61bdaa10
+ source = https://gitlab.inria.fr/scotch/scotch/-/archive/v6.0.9/scotch-v6.0.9.tar.gz
+ sha256sums = b9bc86c50b65781eb416663e938d57555373c2517ea8b9acf680fd3acde0cb0c
pkgname = scotch
diff --git a/PKGBUILD b/PKGBUILD
index fd4ca1e..9cf4714 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,25 @@
-# Maintainer: Samuel Williams <ioquatix>
-
pkgname=scotch
-pkgver=6.0.6
+pkgver=6.0.9
pkgrel=1
pkgdesc="Software package and libraries for graph, mesh and hypergraph partitioning, static mapping, and sparse matrix block ordering. This is the all-inclusive version (MPI/serial/esmumps)."
-url="http://www.labri.fr/perso/pelegrin/scotch/"
+url="https://gitlab.inria.fr/scotch/scotch"
license=("custom:CeCILL-C")
depends=('zlib' 'openmpi' 'bzip2')
provides=('ptscotch' 'ptscotch-openmpi' 'scotch_esmumps' 'scotch_ptesmumps')
conflicts=('ptscotch-openmpi' 'scotch_esmumps' 'scotch_esmumps5')
arch=('i686' 'x86_64')
source=("https://gitlab.inria.fr/scotch/scotch/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz")
-sha256sums=('e932b4c04636fcf5d21b9a76376868de052c9b000bdaf96f8967dcec61bdaa10')
+sha256sums=('b9bc86c50b65781eb416663e938d57555373c2517ea8b9acf680fd3acde0cb0c')
prepare() {
cd "${srcdir}/${pkgname}-v${pkgver}/src"
- # Apply patch to fix shared library ldflags
- sed -i 's/$(AR) $(ARFLAGS) $(@) $(?)/$(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)/g' libscotch/Makefile
-
[ -e Makefile.inc ] && rm Makefile.inc
cp "Make.inc/Makefile.inc.${CARCH/_/-}_pc_linux2.shlib" Makefile.inc
-
+
+ # Apply patch to fix shared library ldflags
+ sed -i 's/$(AR) $(ARFLAGS) $(@) $(?)/$(AR) $(ARFLAGS) $(@) $(?) $(LDFLAGS)/g' libscotch/Makefile
+
# Use the CFLAGS defined /etc/makepkg.conf
sed -i "s/-O3/${CFLAGS} -fPIC/g" Makefile.inc
@@ -31,10 +29,10 @@ prepare() {
# Also enable bzip2 compression
sed -i "s/-DCOMMON_FILE_COMPRESS_GZ/-DCOMMON_FILE_COMPRESS_GZ -DCOMMON_FILE_COMPRESS_BZ2/" Makefile.inc
sed -i "s/-lz/-lz -lbz2/" Makefile.inc
-
+
# Fix the creation of directories
sed -i "s/mkdir/mkdir\ -p/" Makefile.inc
-
+
# To install headers and libs also for esmumps
sed -i 's/scotch\*/{scotch,esmumps}\*/g' Makefile
}