mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/suitesparse to 5.10.1-2
This commit is contained in:
parent
eba0f38782
commit
a5bce97103
1 changed files with 12 additions and 14 deletions
|
@ -1,22 +1,20 @@
|
||||||
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||||||
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - patch from debian to link with libatomic
|
# - patch from debian to link with libatomic
|
||||||
|
|
||||||
pkgname=suitesparse
|
pkgname=suitesparse
|
||||||
pkgver=5.10.1
|
pkgver=5.10.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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'
|
||||||
arch=('x86_64')
|
arch=(x86_64)
|
||||||
conflicts=('umfpack')
|
depends=(metis lapack mpfr)
|
||||||
provides=('umfpack')
|
makedepends=(gcc-fortran cmake chrpath)
|
||||||
replaces=('umfpack')
|
license=(GPL)
|
||||||
depends=('metis' 'lapack' 'tbb' 'mpfr')
|
options=(staticlibs)
|
||||||
makedepends=('gcc-fortran' 'cmake' 'chrpath')
|
source=(https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver/$pkgname-$pkgver.tar.gz
|
||||||
license=('GPL')
|
|
||||||
options=('staticlibs')
|
|
||||||
source=($pkgname-$pkgver.tar.gz::"https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v$pkgver.tar.gz"
|
|
||||||
suitesparse-no-demo.patch
|
suitesparse-no-demo.patch
|
||||||
libatomic.patch)
|
libatomic.patch)
|
||||||
sha256sums=('acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee'
|
sha256sums=('acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee'
|
||||||
|
@ -32,7 +30,7 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cd SuiteSparse-$pkgver
|
cd SuiteSparse-$pkgver
|
||||||
|
|
||||||
BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so make
|
BLAS=-lblas LAPACK=-llapack MY_METIS_LIB=/usr/lib/libmetis.so make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +38,7 @@ package() {
|
||||||
cd SuiteSparse-$pkgver
|
cd SuiteSparse-$pkgver
|
||||||
install -dm755 "${pkgdir}"/usr/{include,lib}
|
install -dm755 "${pkgdir}"/usr/{include,lib}
|
||||||
|
|
||||||
BLAS=-lblas LAPACK=-llapack TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so \
|
BLAS=-lblas LAPACK=-llapack MY_METIS_LIB=/usr/lib/libmetis.so \
|
||||||
make INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
|
make INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
|
||||||
|
|
||||||
# fix RPATH
|
# fix RPATH
|
||||||
|
|
Loading…
Reference in a new issue