[arch-commits] Commit in suitesparse/repos/extra-x86_64 (4 files)

Antonio Rojas arojas at archlinux.org
Fri Jul 3 17:49:05 UTC 2020


    Date: Friday, July 3, 2020 @ 17:49:04
  Author: arojas
Revision: 390814

archrelease: copy trunk to extra-x86_64

Added:
  suitesparse/repos/extra-x86_64/PKGBUILD
    (from rev 390813, suitesparse/trunk/PKGBUILD)
  suitesparse/repos/extra-x86_64/suitesparse-no-demo.patch
    (from rev 390813, suitesparse/trunk/suitesparse-no-demo.patch)
Deleted:
  suitesparse/repos/extra-x86_64/PKGBUILD
  suitesparse/repos/extra-x86_64/suitesparse-no-demo.patch

---------------------------+
 PKGBUILD                  |   85 +++++++++++++++++++++-----------------------
 suitesparse-no-demo.patch |   22 +++++------
 2 files changed, 53 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-03 17:48:52 UTC (rev 390813)
+++ PKGBUILD	2020-07-03 17:49:04 UTC (rev 390814)
@@ -1,43 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=suitesparse
-pkgver=5.8.0
-pkgrel=1
-pkgdesc="A collection of sparse matrix libraries"
-url="http://faculty.cse.tamu.edu/davis/suitesparse.html"
-arch=('x86_64')
-conflicts=('umfpack')
-provides=('umfpack')
-replaces=('umfpack')
-depends=('metis' 'lapack' 'tbb')
-makedepends=('gcc-fortran' 'cmake' 'chrpath')
-license=('GPL')
-options=('staticlibs')
-source=($pkgname-$pkgver.tar.gz::"https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver.tar.gz"
-        suitesparse-no-demo.patch)
-sha256sums=('5ce343444c589d5c46d1ef2b4dde625fdb287e1838f24bc5a5f7054149145fc3'
-            'f80488bb076753d38ea21d207bd682bdc97e21220c733da025f518a5b7e8e030')
-
-prepare() {
-  cd SuiteSparse-$pkgver
-  patch -p1 -i ../suitesparse-no-demo.patch
-}
-
-build() {
-  cd SuiteSparse-$pkgver
-
-  BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so make
-}
-
-
-package() {
-  cd SuiteSparse-$pkgver
-  install -dm755 "${pkgdir}"/usr/{include,lib}
-
-  BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so \
-  make INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
-
-  # fix RPATH
-  chrpath -d "$pkgdir"/usr/lib/*
-}
-

Copied: suitesparse/repos/extra-x86_64/PKGBUILD (from rev 390813, suitesparse/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-03 17:49:04 UTC (rev 390814)
@@ -0,0 +1,42 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=suitesparse
+pkgver=5.8.0
+pkgrel=2
+pkgdesc="A collection of sparse matrix libraries"
+url="http://faculty.cse.tamu.edu/davis/suitesparse.html"
+arch=('x86_64')
+conflicts=('umfpack')
+provides=('umfpack')
+replaces=('umfpack')
+depends=('metis' 'lapack' 'tbb' 'mpfr')
+makedepends=('gcc-fortran' 'cmake' 'chrpath')
+license=('GPL')
+options=('staticlibs')
+source=($pkgname-$pkgver.tar.gz::"https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver.tar.gz"
+        suitesparse-no-demo.patch)
+sha256sums=('94a9b7134eb4dd82b97f1a22a6b464feb81e73af2dcdf683c6f252285191df1d'
+            '409b32e546ec4936d0d88e39c59ee68dfd9f630d8c454ce1e3d58243df7ad396')
+
+prepare() {
+  cd SuiteSparse-$pkgver
+  patch -p1 -i ../suitesparse-no-demo.patch # Don't run demo
+}
+
+build() {
+  cd SuiteSparse-$pkgver
+
+  BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so make
+}
+
+
+package() {
+  cd SuiteSparse-$pkgver
+  install -dm755 "${pkgdir}"/usr/{include,lib}
+
+  BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so \
+  make INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
+
+  # fix RPATH
+  chrpath -d "$pkgdir"/usr/lib/*
+}

Deleted: suitesparse-no-demo.patch
===================================================================
--- suitesparse-no-demo.patch	2020-07-03 17:48:52 UTC (rev 390813)
+++ suitesparse-no-demo.patch	2020-07-03 17:49:04 UTC (rev 390814)
@@ -1,11 +0,0 @@
---- SuiteSparse-5.6.0/Makefile.orig	2019-11-05 22:37:26.086135974 +0000
-+++ SuiteSparse-5.6.0/Makefile	2019-11-05 22:37:37.549632429 +0000
-@@ -12,7 +12,7 @@
- # Compile the default rules for each package
- go: metis
- 	( cd SuiteSparse_config && $(MAKE) )
--	( cd Mongoose  && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' )
-+	( cd Mongoose  && $(MAKE) library CMAKE_OPTIONS='$(CMAKE_OPTIONS)' )
- 	( cd AMD && $(MAKE) )
- 	( cd BTF && $(MAKE) )
- 	( cd CAMD && $(MAKE) )

Copied: suitesparse/repos/extra-x86_64/suitesparse-no-demo.patch (from rev 390813, suitesparse/trunk/suitesparse-no-demo.patch)
===================================================================
--- suitesparse-no-demo.patch	                        (rev 0)
+++ suitesparse-no-demo.patch	2020-07-03 17:49:04 UTC (rev 390814)
@@ -0,0 +1,11 @@
+--- SuiteSparse-5.6.0/Makefile.orig	2019-11-05 22:37:26.086135974 +0000
++++ SuiteSparse-5.6.0/Makefile	2019-11-05 22:37:37.549632429 +0000
+@@ -16,7 +16,7 @@
+ # installs all libraries SuiteSparse/lib.
+ go: metis
+ 	( cd SuiteSparse_config && $(MAKE) )
+-	( cd Mongoose && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' )
++	( cd Mongoose && $(MAKE) library CMAKE_OPTIONS='$(CMAKE_OPTIONS)' )
+ 	( cd AMD && $(MAKE) )
+ 	( cd BTF && $(MAKE) )
+ 	( cd CAMD && $(MAKE) )



More information about the arch-commits mailing list