Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : suitesparse | name : suitesparse | ||||
| version : 4.5.6 | version : 5.10.1 | ||||
| release : 9 | release : 10 | ||||
| source : | source : | ||||
| - https://github.com/jluttine/suitesparse/archive/v4.5.6.tar.gz : f76cf965bb9d5bc9787420226bc317d9232df04cbd9718d4bd66dc5408095176 | - https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v5.10.1.tar.gz : acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee | ||||
| 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 -Wno-comment" | |||||
| export CXXFLAGS="${CXXFLAGS} -Wno-unused-variable -Wno-comment" | |||||
| 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.