diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-12-06 04:25:20 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-12-06 08:16:27 +0100 |
commit | 7ebe4493df8d8a21278aaf6a632e977d02a00adf (patch) | |
tree | 68c8fa3814fd281dd1d7bf024675f09c3ff3e0cb /community/suitesparse | |
parent | 790fc1cfeba7a859db7cfd7c3aca4bc365627939 (diff) | |
download | aports-7ebe4493df8d8a21278aaf6a632e977d02a00adf.tar.bz2 aports-7ebe4493df8d8a21278aaf6a632e977d02a00adf.tar.xz |
community/suitesparse: upgrade to 5.6.0
Diffstat (limited to 'community/suitesparse')
-rw-r--r-- | community/suitesparse/APKBUILD | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/community/suitesparse/APKBUILD b/community/suitesparse/APKBUILD index c8a40f341a..6a9be1a573 100644 --- a/community/suitesparse/APKBUILD +++ b/community/suitesparse/APKBUILD @@ -2,27 +2,22 @@ # Maintainer: Jakub Jirutka <jakub@jirutka.cz> pkgname=suitesparse _pkgname=SuiteSparse -pkgver=5.3.0 +pkgver=5.6.0 pkgrel=0 pkgdesc="A collection of sparse matrix libraries" url="http://faculty.cse.tamu.edu/davis/suitesparse.html" arch="all" license="GPL" -depends_dev="openblas-dev>=0.3.0" -makedepends="$depends_dev cmake" +depends_dev="openblas-dev lapack-dev" +makedepends="$depends_dev cmake m4" subpackages="$pkgname-dev $pkgname-doc" -source="http://faculty.cse.tamu.edu/davis/$_pkgname/$_pkgname-$pkgver.tar.gz +source="$pkgname-$pkgver.tar.gz::https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver.tar.gz 0001-exclude-metis.patch 0002-remove-rpath.patch " -builddir="$srcdir/$_pkgname" +builddir="$srcdir/$_pkgname-$pkgver" prepare() { - cd "$builddir" - - # OpenBLAS provides also LAPACK. - export LAPACK="-lopenblas" - # Do not include the Partition module and METIS (it's optional and # Julia doesn't need it). export CFLAGS="$CFLAGS -DNPARTITION" @@ -32,19 +27,18 @@ prepare() { } build() { - cd "$builddir" + #BLAS=-lblas make library } package() { - cd "$builddir" - + #BLAS=-lblas \ make install \ INSTALL="$pkgdir/usr" \ INSTALL_INCLUDE="$pkgdir/usr/include/$pkgname" \ INSTALL_DOC="$pkgdir/usr/share/doc/$pkgname" } -sha512sums="a7ac655c5454c8270a52ece802946893f02d12c1bfb10546e24cd8355e59b733961526e9d702cd649b90b47bb325ace5110f70054db3754c732bc3ec1fa42cf9 SuiteSparse-5.3.0.tar.gz +sha512sums="c4dac62710501388fd58e52fe239723f83a94ff666410f711d42710485730d2821d3bb0ad937b40ac1a257e6da2ed317e30d74592b16ac3f959295965314d6dc suitesparse-5.6.0.tar.gz 0bdaed29c7770104eb94d9e60a42fe68b5643c8f958aba4cc6d7996888a83ae75a4e509d0c262264c49d5d9b1ca23a958cc71cfaa5e983b0008e65455a987cac 0001-exclude-metis.patch cd40b696515b26c95298b435a5111e582dc42c2fa2e8ef9889558467d375b1d19452838b9463df66958e73ddb0c8c0191936e3e952586a3c7d345edb08fa7e62 0002-remove-rpath.patch" |