mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/suitesparse to 5.3.0-1.1
This commit is contained in:
parent
0ae4d0ae0f
commit
253edd9272
1 changed files with 5 additions and 6 deletions
|
@ -1,19 +1,18 @@
|
|||
# $Id$
|
||||
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - drop intel-tbb depend, remove TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB
|
||||
# remove when bumped upstream
|
||||
|
||||
pkgname=suitesparse
|
||||
pkgver=5.3.0
|
||||
pkgrel=1
|
||||
pkgrel=1.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')
|
||||
depends=('metis' 'lapack' 'intel-tbb')
|
||||
makedepends=('gcc-fortran' 'cmake' 'chrpath')
|
||||
license=('GPL')
|
||||
options=('staticlibs')
|
||||
|
@ -29,7 +28,7 @@ prepare() {
|
|||
build() {
|
||||
cd SuiteSparse
|
||||
|
||||
BLAS=-lblas MY_METIS_LIB=/usr/lib/libmetis.so make
|
||||
BLAS=-lblas TBB=-ltbb SPQR_CONFIG=-DHAVE_TBB MY_METIS_LIB=/usr/lib/libmetis.so make
|
||||
}
|
||||
|
||||
|
||||
|
@ -37,7 +36,7 @@ package() {
|
|||
cd SuiteSparse
|
||||
install -dm755 "${pkgdir}"/usr/{include,lib}
|
||||
|
||||
BLAS=-lblas MY_METIS_LIB=/usr/lib/libmetis.so \
|
||||
BLAS=-lblas 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
|
||||
|
|
Loading…
Reference in a new issue