* update suitesparse to 7.8.2-1
This commit is contained in:
parent
46550b0caf
commit
3b8d79a8ba
32
suitesparse/.SRCINFO
Normal file
32
suitesparse/.SRCINFO
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
pkgbase = suitesparse
|
||||||
|
pkgdesc = A collection of sparse matrix libraries
|
||||||
|
pkgver = 7.8.2
|
||||||
|
pkgrel = 1
|
||||||
|
url = http://faculty.cse.tamu.edu/davis/suitesparse.html
|
||||||
|
arch = x86_64
|
||||||
|
arch = powerpc64le
|
||||||
|
arch = powerpc64
|
||||||
|
arch = powerpc
|
||||||
|
arch = riscv64
|
||||||
|
license = GPL
|
||||||
|
makedepends = cmake
|
||||||
|
makedepends = gcc-fortran
|
||||||
|
makedepends = git
|
||||||
|
depends = blas
|
||||||
|
depends = gcc-libs
|
||||||
|
depends = glibc
|
||||||
|
depends = gmp
|
||||||
|
depends = lapack
|
||||||
|
depends = mpfr
|
||||||
|
replaces = suitesparse64<7.1.0
|
||||||
|
source = git+https://github.com/DrTimothyAldenDavis/SuiteSparse#tag=v7.8.2
|
||||||
|
source = ppc32.patch
|
||||||
|
sha256sums = 92645255bcfeaab9ad32c7de8b3d8804808484f18ff9f3e6c432e1132147b579
|
||||||
|
sha256sums = fe530b269842452aae6a76f3930b5355464a56ca1747b1bb8861f9751915557b
|
||||||
|
|
||||||
|
pkgname = suitesparse
|
||||||
|
|
||||||
|
pkgname = suitesparse-graphblas
|
||||||
|
pkgdesc = Graph algorithms in the language of linear algebra
|
||||||
|
depends = gcc-libs
|
||||||
|
depends = glibc
|
6
suitesparse/.nvchecker.toml
Normal file
6
suitesparse/.nvchecker.toml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[suitesparse]
|
||||||
|
source = 'github'
|
||||||
|
github = 'DrTimothyAldenDavis/SuiteSparse'
|
||||||
|
use_max_tag = true
|
||||||
|
prefix = 'v'
|
||||||
|
exclude_regex = '.*(beta|rc).*'
|
@ -2,8 +2,10 @@
|
|||||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||||
# Contributor: Ronald van Haren <ronald.archlinux.org>
|
# Contributor: Ronald van Haren <ronald.archlinux.org>
|
||||||
|
|
||||||
pkgname=suitesparse
|
pkgbase=suitesparse
|
||||||
pkgver=7.7.0
|
pkgname=(suitesparse
|
||||||
|
suitesparse-graphblas)
|
||||||
|
pkgver=7.8.2
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A collection of sparse matrix libraries'
|
pkgdesc='A collection of sparse matrix libraries'
|
||||||
url='http://faculty.cse.tamu.edu/davis/suitesparse.html'
|
url='http://faculty.cse.tamu.edu/davis/suitesparse.html'
|
||||||
@ -15,22 +17,27 @@ depends=(blas
|
|||||||
lapack
|
lapack
|
||||||
mpfr)
|
mpfr)
|
||||||
makedepends=(cmake
|
makedepends=(cmake
|
||||||
gcc-fortran)
|
gcc-fortran
|
||||||
|
git)
|
||||||
replaces=('suitesparse64<7.1.0')
|
replaces=('suitesparse64<7.1.0')
|
||||||
license=(GPL)
|
license=(GPL)
|
||||||
source=(https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver/$pkgname-$pkgver.tar.gz
|
source=(git+https://github.com/DrTimothyAldenDavis/SuiteSparse#tag=v$pkgver
|
||||||
ppc32.patch)
|
ppc32.patch)
|
||||||
sha256sums=('529b067f5d80981f45ddf6766627b8fc5af619822f068f342aab776e683df4f3'
|
sha256sums=('92645255bcfeaab9ad32c7de8b3d8804808484f18ff9f3e6c432e1132147b579'
|
||||||
'fe530b269842452aae6a76f3930b5355464a56ca1747b1bb8861f9751915557b')
|
'fe530b269842452aae6a76f3930b5355464a56ca1747b1bb8861f9751915557b')
|
||||||
|
|
||||||
|
case "${CARCH}" in
|
||||||
|
powerpc64) options=(!lto) ;;
|
||||||
|
esac
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd SuiteSparse-$pkgver
|
cd SuiteSparse
|
||||||
# Fix 32bit powerpc
|
# Fix 32bit powerpc
|
||||||
patch -Np1 -i ${srcdir}/ppc32.patch
|
patch -Np1 -i ${srcdir}/ppc32.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd SuiteSparse-$pkgver
|
cd SuiteSparse
|
||||||
CMAKE_OPTIONS="-DBLA_VENDOR=Generic \
|
CMAKE_OPTIONS="-DBLA_VENDOR=Generic \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
@ -38,7 +45,22 @@ build() {
|
|||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package_suitesparse() {
|
||||||
cd SuiteSparse-$pkgver
|
cd SuiteSparse
|
||||||
DESTDIR="$pkgdir" make install
|
DESTDIR="$pkgdir" make install
|
||||||
|
|
||||||
|
rm -r "$pkgdir"/usr/lib/lib{graphblas,lagraph,lagraphx}.so* \
|
||||||
|
"$pkgdir"/usr/include/suitesparse/{GraphBLAS,LAGraph,LAGraphX}.h \
|
||||||
|
"$pkgdir"/usr/lib/cmake/{GraphBLAS,LAGraph} \
|
||||||
|
"$pkgdir"/usr/lib/pkgconfig/{GraphBLAS,LAGraph}.pc
|
||||||
|
}
|
||||||
|
|
||||||
|
package_suitesparse-graphblas() {
|
||||||
|
pkgdesc='Graph algorithms in the language of linear algebra'
|
||||||
|
depends=(gcc-libs
|
||||||
|
glibc)
|
||||||
|
|
||||||
|
cd SuiteSparse
|
||||||
|
DESTDIR="$pkgdir" make install -C GraphBLAS
|
||||||
|
DESTDIR="$pkgdir" make install -C LAGraph
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user