[arch-commits] Commit in suitesparse/repos (4 files)
Ronald van Haren
ronald at archlinux.org
Tue Apr 28 07:24:46 UTC 2015
Date: Tuesday, April 28, 2015 @ 09:24:46
Author: ronald
Revision: 238115
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
suitesparse/repos/extra-i686/PKGBUILD
(from rev 238114, suitesparse/trunk/PKGBUILD)
suitesparse/repos/extra-x86_64/PKGBUILD
(from rev 238114, suitesparse/trunk/PKGBUILD)
Deleted:
suitesparse/repos/extra-i686/PKGBUILD
suitesparse/repos/extra-x86_64/PKGBUILD
-----------------------+
/PKGBUILD | 178 ++++++++++++++++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 90 ------------------------
extra-x86_64/PKGBUILD | 90 ------------------------
3 files changed, 178 insertions(+), 180 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2015-04-28 07:24:33 UTC (rev 238114)
+++ extra-i686/PKGBUILD 2015-04-28 07:24:46 UTC (rev 238115)
@@ -1,90 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=suitesparse
-pkgver=4.4.1
-pkgrel=1
-pkgdesc="A collection of sparse matrix libraries"
-url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
-arch=('i686' 'x86_64')
-conflicts=('umfpack')
-provides=('umfpack')
-replaces=('umfpack')
-depends=('blas' 'lapack')
-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')
-
-prepare() {
- export CFLAGS=" ${CFLAGS} -DNPARTITION -fPIC"
-}
-
-build() {
- cd "$srcdir"/SuiteSparse
-
- make -C SuiteSparse_config/xerbla
- make -C SuiteSparse_config
- for _lib in AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
- make -C ${_lib} library
- done
- 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 \
- SuiteSparse_config/libsuitesparseconfig.a -lm && \
- ln -sf libsuitesparseconfig.so.4.4.1 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
- ld -shared -soname libcamd.so.2 -o shared/libcamd.so.2.4.1 \
- --whole-archive CAMD/Lib/libcamd.a -L./shared -lsuitesparseconfig -lm && \
- ln -sf libcamd.so.2.4.1 shared/libcamd.so
- ld -shared -soname libcolamd.so.2 -o shared/libcolamd.so.2.9.1 \
- --whole-archive COLAMD/Lib/libcolamd.a -L./shared -lsuitesparseconfig -lm \
- && ln -sf libcolamd.so.2.9.1 shared/libcolamd.so
- ld -shared -soname libccolamd.so.2 -o shared/libccolamd.so.2.9.1 \
- --whole-archive CCOLAMD/Lib/libccolamd.a -L./shared -lsuitesparseconfig -lm \
- && ln -sf libccolamd.so.2.9.1 shared/libccolamd.so
- ld -shared -soname libbtf.so.1 -o shared/libbtf.so.1.2.1 \
- --whole-archive BTF/Lib/libbtf.a && \
- ln -sf libbtf.so.1.2.1 shared/libbtf.so
- 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 \
- --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 \
- --whole-archive SPQR/Lib/libspqr.a -lblas -llapack \
- -L./shared -lcholmod -lsuitesparseconfig -lm && \
- ln -sf libspqr.so.2.0.0 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
- ld -shared -soname libklu.so.1 -o shared/libklu.so.1.3.2 \
- --whole-archive KLU/Lib/libklu.a -L./shared -lamd -lbtf \
- -lsuitesparseconfig -lm && ln -sf libklu.so.1.3.2 shared/libklu.so
- ld -shared -soname libumfpack.so.5 -o shared/libumfpack.so.5.7.1 \
- --whole-archive UMFPACK/Lib/libumfpack.a -lblas -llapack -L./shared \
- -lamd -lcholmod -lsuitesparseconfig -lm && \
- ln -sf libumfpack.so.5.7.1 shared/libumfpack.so
-}
-
-
-package() {
- cd "${srcdir}"/SuiteSparse
- install -dm755 "${pkgdir}"/usr/{lib,include}
-
- for _lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
- make -C ${_lib} INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
- done
-
- rm -f "${pkgdir}"/usr/lib/*.a
- cp -d shared/*.so* "${pkgdir}"/usr/lib/
- ldconfig -n "${pkgdir}"/usr/lib/
- chmod 644 "${pkgdir}"/usr/include/*.{h,hpp}
-}
Copied: suitesparse/repos/extra-i686/PKGBUILD (from rev 238114, suitesparse/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-04-28 07:24:46 UTC (rev 238115)
@@ -0,0 +1,89 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=suitesparse
+pkgver=4.4.4
+pkgrel=1
+pkgdesc="A collection of sparse matrix libraries"
+url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
+arch=('i686' 'x86_64')
+conflicts=('umfpack')
+provides=('umfpack')
+replaces=('umfpack')
+depends=('blas' 'lapack' 'intel-tbb')
+makedepends=('gcc-fortran')
+license=('GPL')
+options=('staticlibs')
+source=("http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-$pkgver.tar.gz")
+sha1sums=('13f5d8caa8df92a4d704426781365e55c09baf01')
+
+prepare() {
+ export CFLAGS=" ${CFLAGS} -DNPARTITION -fPIC -DHAVE_TBB"
+}
+
+build() {
+ cd "$srcdir"/SuiteSparse
+
+ make -C SuiteSparse_config/xerbla
+ make -C SuiteSparse_config
+ for _lib in AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+ make -C ${_lib} library
+ done
+ mkdir shared
+ # version numbers can be found in individual changelog files
+ ld -shared -soname libsuitesparseconfig.so.4 -o \
+ shared/libsuitesparseconfig.so.4.4.4 --whole-archive \
+ SuiteSparse_config/libsuitesparseconfig.a -lm && \
+ 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
+ ld -shared -soname libcamd.so.2 -o shared/libcamd.so.2.4.1 \
+ --whole-archive CAMD/Lib/libcamd.a -L./shared -lsuitesparseconfig -lm && \
+ ln -sf libcamd.so.2.4.1 shared/libcamd.so
+ ld -shared -soname libcolamd.so.2 -o shared/libcolamd.so.2.9.1 \
+ --whole-archive COLAMD/Lib/libcolamd.a -L./shared -lsuitesparseconfig -lm \
+ && ln -sf libcolamd.so.2.9.1 shared/libcolamd.so
+ ld -shared -soname libccolamd.so.2 -o shared/libccolamd.so.2.9.1 \
+ --whole-archive CCOLAMD/Lib/libccolamd.a -L./shared -lsuitesparseconfig -lm \
+ && ln -sf libccolamd.so.2.9.1 shared/libccolamd.so
+ ld -shared -soname libbtf.so.1 -o shared/libbtf.so.1.2.1 \
+ --whole-archive BTF/Lib/libbtf.a && \
+ ln -sf libbtf.so.1.2.1 shared/libbtf.so
+ 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.5 \
+ --whole-archive CHOLMOD/Lib/libcholmod.a -lblas -llapack \
+ -L./shared -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -lm && \
+ 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.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
+ ld -shared -soname libklu.so.1 -o shared/libklu.so.1.3.2 \
+ --whole-archive KLU/Lib/libklu.a -L./shared -lamd -lbtf \
+ -lsuitesparseconfig -lm && ln -sf libklu.so.1.3.2 shared/libklu.so
+ ld -shared -soname libumfpack.so.5 -o shared/libumfpack.so.5.7.1 \
+ --whole-archive UMFPACK/Lib/libumfpack.a -lblas -llapack -L./shared \
+ -lamd -lcholmod -lsuitesparseconfig -lm && \
+ ln -sf libumfpack.so.5.7.1 shared/libumfpack.so
+}
+
+
+package() {
+ cd "${srcdir}"/SuiteSparse
+ install -dm755 "${pkgdir}"/usr/{lib,include}
+
+ for _lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+ make -C ${_lib} INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
+ done
+
+ rm -f "${pkgdir}"/usr/lib/*.a
+ cp -d shared/*.so* "${pkgdir}"/usr/lib/
+ ldconfig -n "${pkgdir}"/usr/lib/
+ chmod 644 "${pkgdir}"/usr/include/*.{h,hpp}
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2015-04-28 07:24:33 UTC (rev 238114)
+++ extra-x86_64/PKGBUILD 2015-04-28 07:24:46 UTC (rev 238115)
@@ -1,90 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-
-pkgname=suitesparse
-pkgver=4.4.1
-pkgrel=1
-pkgdesc="A collection of sparse matrix libraries"
-url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
-arch=('i686' 'x86_64')
-conflicts=('umfpack')
-provides=('umfpack')
-replaces=('umfpack')
-depends=('blas' 'lapack')
-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')
-
-prepare() {
- export CFLAGS=" ${CFLAGS} -DNPARTITION -fPIC"
-}
-
-build() {
- cd "$srcdir"/SuiteSparse
-
- make -C SuiteSparse_config/xerbla
- make -C SuiteSparse_config
- for _lib in AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
- make -C ${_lib} library
- done
- 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 \
- SuiteSparse_config/libsuitesparseconfig.a -lm && \
- ln -sf libsuitesparseconfig.so.4.4.1 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
- ld -shared -soname libcamd.so.2 -o shared/libcamd.so.2.4.1 \
- --whole-archive CAMD/Lib/libcamd.a -L./shared -lsuitesparseconfig -lm && \
- ln -sf libcamd.so.2.4.1 shared/libcamd.so
- ld -shared -soname libcolamd.so.2 -o shared/libcolamd.so.2.9.1 \
- --whole-archive COLAMD/Lib/libcolamd.a -L./shared -lsuitesparseconfig -lm \
- && ln -sf libcolamd.so.2.9.1 shared/libcolamd.so
- ld -shared -soname libccolamd.so.2 -o shared/libccolamd.so.2.9.1 \
- --whole-archive CCOLAMD/Lib/libccolamd.a -L./shared -lsuitesparseconfig -lm \
- && ln -sf libccolamd.so.2.9.1 shared/libccolamd.so
- ld -shared -soname libbtf.so.1 -o shared/libbtf.so.1.2.1 \
- --whole-archive BTF/Lib/libbtf.a && \
- ln -sf libbtf.so.1.2.1 shared/libbtf.so
- 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 \
- --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 \
- --whole-archive SPQR/Lib/libspqr.a -lblas -llapack \
- -L./shared -lcholmod -lsuitesparseconfig -lm && \
- ln -sf libspqr.so.2.0.0 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
- ld -shared -soname libklu.so.1 -o shared/libklu.so.1.3.2 \
- --whole-archive KLU/Lib/libklu.a -L./shared -lamd -lbtf \
- -lsuitesparseconfig -lm && ln -sf libklu.so.1.3.2 shared/libklu.so
- ld -shared -soname libumfpack.so.5 -o shared/libumfpack.so.5.7.1 \
- --whole-archive UMFPACK/Lib/libumfpack.a -lblas -llapack -L./shared \
- -lamd -lcholmod -lsuitesparseconfig -lm && \
- ln -sf libumfpack.so.5.7.1 shared/libumfpack.so
-}
-
-
-package() {
- cd "${srcdir}"/SuiteSparse
- install -dm755 "${pkgdir}"/usr/{lib,include}
-
- for _lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
- make -C ${_lib} INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
- done
-
- rm -f "${pkgdir}"/usr/lib/*.a
- cp -d shared/*.so* "${pkgdir}"/usr/lib/
- ldconfig -n "${pkgdir}"/usr/lib/
- chmod 644 "${pkgdir}"/usr/include/*.{h,hpp}
-}
Copied: suitesparse/repos/extra-x86_64/PKGBUILD (from rev 238114, suitesparse/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-04-28 07:24:46 UTC (rev 238115)
@@ -0,0 +1,89 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+
+pkgname=suitesparse
+pkgver=4.4.4
+pkgrel=1
+pkgdesc="A collection of sparse matrix libraries"
+url="http://www.cise.ufl.edu/research/sparse/SuiteSparse/"
+arch=('i686' 'x86_64')
+conflicts=('umfpack')
+provides=('umfpack')
+replaces=('umfpack')
+depends=('blas' 'lapack' 'intel-tbb')
+makedepends=('gcc-fortran')
+license=('GPL')
+options=('staticlibs')
+source=("http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-$pkgver.tar.gz")
+sha1sums=('13f5d8caa8df92a4d704426781365e55c09baf01')
+
+prepare() {
+ export CFLAGS=" ${CFLAGS} -DNPARTITION -fPIC -DHAVE_TBB"
+}
+
+build() {
+ cd "$srcdir"/SuiteSparse
+
+ make -C SuiteSparse_config/xerbla
+ make -C SuiteSparse_config
+ for _lib in AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+ make -C ${_lib} library
+ done
+ mkdir shared
+ # version numbers can be found in individual changelog files
+ ld -shared -soname libsuitesparseconfig.so.4 -o \
+ shared/libsuitesparseconfig.so.4.4.4 --whole-archive \
+ SuiteSparse_config/libsuitesparseconfig.a -lm && \
+ 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
+ ld -shared -soname libcamd.so.2 -o shared/libcamd.so.2.4.1 \
+ --whole-archive CAMD/Lib/libcamd.a -L./shared -lsuitesparseconfig -lm && \
+ ln -sf libcamd.so.2.4.1 shared/libcamd.so
+ ld -shared -soname libcolamd.so.2 -o shared/libcolamd.so.2.9.1 \
+ --whole-archive COLAMD/Lib/libcolamd.a -L./shared -lsuitesparseconfig -lm \
+ && ln -sf libcolamd.so.2.9.1 shared/libcolamd.so
+ ld -shared -soname libccolamd.so.2 -o shared/libccolamd.so.2.9.1 \
+ --whole-archive CCOLAMD/Lib/libccolamd.a -L./shared -lsuitesparseconfig -lm \
+ && ln -sf libccolamd.so.2.9.1 shared/libccolamd.so
+ ld -shared -soname libbtf.so.1 -o shared/libbtf.so.1.2.1 \
+ --whole-archive BTF/Lib/libbtf.a && \
+ ln -sf libbtf.so.1.2.1 shared/libbtf.so
+ 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.5 \
+ --whole-archive CHOLMOD/Lib/libcholmod.a -lblas -llapack \
+ -L./shared -lamd -lcamd -lcolamd -lccolamd -lsuitesparseconfig -lm && \
+ 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.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
+ ld -shared -soname libklu.so.1 -o shared/libklu.so.1.3.2 \
+ --whole-archive KLU/Lib/libklu.a -L./shared -lamd -lbtf \
+ -lsuitesparseconfig -lm && ln -sf libklu.so.1.3.2 shared/libklu.so
+ ld -shared -soname libumfpack.so.5 -o shared/libumfpack.so.5.7.1 \
+ --whole-archive UMFPACK/Lib/libumfpack.a -lblas -llapack -L./shared \
+ -lamd -lcholmod -lsuitesparseconfig -lm && \
+ ln -sf libumfpack.so.5.7.1 shared/libumfpack.so
+}
+
+
+package() {
+ cd "${srcdir}"/SuiteSparse
+ install -dm755 "${pkgdir}"/usr/{lib,include}
+
+ for _lib in SuiteSparse_config AMD CAMD COLAMD BTF KLU LDL CCOLAMD UMFPACK CHOLMOD CXSparse SPQR; do
+ make -C ${_lib} INSTALL_LIB="${pkgdir}"/usr/lib INSTALL_INCLUDE="${pkgdir}"/usr/include install
+ done
+
+ rm -f "${pkgdir}"/usr/lib/*.a
+ cp -d shared/*.so* "${pkgdir}"/usr/lib/
+ ldconfig -n "${pkgdir}"/usr/lib/
+ chmod 644 "${pkgdir}"/usr/include/*.{h,hpp}
+}
More information about the arch-commits
mailing list