Changeset View
Changeset View
Standalone View
Standalone View
package.yml
name : suitesparse | name : suitesparse | ||||
version : 4.5.6 | version : 5.9.0 | ||||
release : 8 | release : 9 | ||||
source : | source : | ||||
- https://github.com/jluttine/suitesparse/archive/v4.5.6.tar.gz : f76cf965bb9d5bc9787420226bc317d9232df04cbd9718d4bd66dc5408095176 | - https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v5.9.0.tar.gz : 7bdd4811f1cf0767c5fdb5e435817fdadee50b0acdb598f4882ae7b8291a7f24 | ||||
homepage : https://people.engr.tamu.edu/davis/suitesparse.html | |||||
license : | license : | ||||
- Apache-2.0 | |||||
- BSD-3-Clause | - BSD-3-Clause | ||||
- GPL-2.0 | - GPL-2.0-or-later | ||||
- LGPL-2.1 | - LGPL-2.1-or-later | ||||
- LGPL-3.0-or-later | |||||
component : programming | component : programming | ||||
libsplit : no | libsplit : no | ||||
summary : A suite of Sparse matrix packages | summary : A suite of Sparse matrix packages | ||||
description: | | description: | | ||||
A suite of Sparse matrix packages | SuiteSparse is a suite of sparse matrix algorithms. | ||||
builddeps : | builddeps : | ||||
- pkgconfig(openblas) | |||||
- intel-tbb-devel | - intel-tbb-devel | ||||
- metis-devel | - metis-devel | ||||
- openblas-devel | - patchelf | ||||
environment: | | |||||
export CFLAGS="${CFLAGS} -Wno-unused-variable" | |||||
export CXXFLAGS="${CXXFLAGS} -Wno-unused-variable" | |||||
setup : | | setup : | | ||||
%patch -p1 < $pkgfiles/suitesparse-link-tbb.patch | %patch -p1 < $pkgfiles/suitesparse-library-only.patch | ||||
build : | | build : | | ||||
BLAS=-lopenblas \ | BLAS=-lopenblas \ | ||||
LAPACK=-lopenblas \ | LAPACK=-lopenblas \ | ||||
MY_METIS_LIB=/usr/lib/libmetis.so \ | MY_METIS_LIB=/usr/lib/libmetis.so \ | ||||
SPQR_CONFIG=-DHAVE_TBB \ | SPQR_CONFIG=-DHAVE_TBB \ | ||||
TBB=-ltbb %make | TBB=-ltbb \ | ||||
%make | |||||
install : | | install : | | ||||
BLAS=-lopenblas \ | BLAS=-lopenblas \ | ||||
INSTALL_INCLUDE=$installdir/usr/include \ | INSTALL_INCLUDE=$installdir/usr/include \ | ||||
INSTALL_LIB=$installdir/%libdir% \ | INSTALL_LIB=$installdir/%libdir% \ | ||||
LAPACK=-lopenblas \ | LAPACK=-lopenblas \ | ||||
MY_METIS_LIB=/usr/lib/libmetis.so \ | MY_METIS_LIB=/usr/lib/libmetis.so \ | ||||
SPQR_CONFIG=-DHAVE_TBB \ | SPQR_CONFIG=-DHAVE_TBB \ | ||||
TBB=-ltbb %make_install | TBB=-ltbb \ | ||||
#rm -f $installdir/%libdir%/*.a | %make_install | ||||
cp -a $installdir/$workdir/* $installdir/usr | |||||
rm -rf $installdir/home | |||||
rm -rf $installdir/usr/lib*/*.a | |||||
patchelf --remove-rpath $installdir/usr/lib*/lib* |
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.