[arch-commits] Commit in suitesparse/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Tue Apr 28 07:24:33 UTC 2015
Date: Tuesday, April 28, 2015 @ 09:24:33
Author: ronald
Revision: 238114
upgpkg: suitesparse 4.4.4-1
update to 4.4.4; add dependency on intel-tbb to improve performance FS#32543
Modified:
suitesparse/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-28 07:22:16 UTC (rev 238113)
+++ PKGBUILD 2015-04-28 07:24:33 UTC (rev 238114)
@@ -2,7 +2,7 @@
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=suitesparse
-pkgver=4.4.1
+pkgver=4.4.4
pkgrel=1
pkgdesc="A collection of sparse matrix libraries"
url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
@@ -10,16 +10,15 @@
conflicts=('umfpack')
provides=('umfpack')
replaces=('umfpack')
-depends=('blas' 'lapack')
+depends=('blas' 'lapack' 'intel-tbb')
makedepends=('gcc-fortran')
license=('GPL')
options=('staticlibs')
-source=(http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-$pkgver.tar.gz http://pkgs.fedoraproject.org/cgit/suitesparse.git/plain/suitesparse-math.patch)
-sha1sums=('c8fa39b117b3121839deddbd0e56bf366c8130de'
- 'a6b3f29df0cc813be0aa7afb65592c2eb431bba4')
+source=("http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-$pkgver.tar.gz")
+sha1sums=('13f5d8caa8df92a4d704426781365e55c09baf01')
prepare() {
- export CFLAGS=" ${CFLAGS} -DNPARTITION -fPIC"
+ export CFLAGS=" ${CFLAGS} -DNPARTITION -fPIC -DHAVE_TBB"
}
build() {
@@ -33,9 +32,9 @@
mkdir shared
# version numbers can be found in individual changelog files
ld -shared -soname libsuitesparseconfig.so.4 -o \
- shared/libsuitesparseconfig.so.4.4.1 --whole-archive \
+ shared/libsuitesparseconfig.so.4.4.4 --whole-archive \
SuiteSparse_config/libsuitesparseconfig.a -lm && \
- ln -sf libsuitesparseconfig.so.4.4.1 shared/libsuitesparseconfig.so
+ ln -sf libsuitesparseconfig.so.4.4.4 shared/libsuitesparseconfig.so
ld -shared -soname libamd.so.2 -o shared/libamd.so.2.4.1 \
--whole-archive AMD/Lib/libamd.a -L./shared -lsuitesparseconfig -lm && \
ln -sf libamd.so.2.4.1 shared/libamd.so
@@ -54,14 +53,14 @@
ld -shared -soname libldl.so.2 -o shared/libldl.so.2.2.1 \
--whole-archive LDL/Lib/libldl.a && \
ln -sf libldl.so.2.2.1 shared/libldl.so
- ld -shared -soname libcholmod.so.3 -o shared/libcholmod.so.3.0.3 \
+ ld -shared -soname libcholmod.so.3 -o shared/libcholmod.so.3.0.5 \
--whole-archive CHOLMOD/Lib/libcholmod.a -lblas -llapack \
-L./shared -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -lm && \
- ln -sf libcholmod.so.3.0.3 shared/libcholmod.so
- ld -shared -soname libspqr.so.2 -o shared/libspqr.so.2.0.0 \
+ ln -sf libcholmod.so.3.0.5 shared/libcholmod.so
+ ld -shared -soname libspqr.so.2 -o shared/libspqr.so.2.0.1 \
--whole-archive SPQR/Lib/libspqr.a -lblas -llapack \
-L./shared -lcholmod -lsuitesparseconfig -lm && \
- ln -sf libspqr.so.2.0.0 shared/libspqr.so
+ ln -sf libspqr.so.2.0.1 shared/libspqr.so
ld -shared -soname libcxsparse.so.3 -o shared/libcxsparse.so.3.1.4 \
--whole-archive CXSparse/Lib/libcxsparse.a && \
ln -sf libcxsparse.so.3.1.4 shared/libcxsparse.so
More information about the arch-commits
mailing list