SuiteSparse: update to 7.4.0.

This commit is contained in:
Gonzalo Tornaría 2023-12-30 09:42:34 -03:00 committed by Andrew J. Hesford
parent 377f4f8122
commit 465ca8b86f

View file

@ -1,7 +1,8 @@
# Template file for 'SuiteSparse' # Template file for 'SuiteSparse'
pkgname=SuiteSparse pkgname=SuiteSparse
version=7.3.1 version=7.4.0
revision=1 revision=1
build_style=cmake
hostmakedepends="cmake gcc-fortran" hostmakedepends="cmake gcc-fortran"
makedepends="libgomp-devel mpfr-devel makedepends="libgomp-devel mpfr-devel
$(vopt_if openblas 'openblas-devel' 'lapack-devel')" $(vopt_if openblas 'openblas-devel' 'lapack-devel')"
@ -11,7 +12,7 @@ license="custom:multiple"
homepage="https://people.engr.tamu.edu/davis/suitesparse.html" homepage="https://people.engr.tamu.edu/davis/suitesparse.html"
changelog="https://raw.githubusercontent.com/DrTimothyAldenDavis/SuiteSparse/master/ChangeLog" changelog="https://raw.githubusercontent.com/DrTimothyAldenDavis/SuiteSparse/master/ChangeLog"
distfiles="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${version}.tar.gz"
checksum=b512484396a80750acf3082adc1807ba0aabb103c2e09be5691f46f14d0a9718 checksum=f9a5cc2316a967198463198f7bf10fb8c4332de6189b0e405419a7092bc921b7
build_options="openblas" build_options="openblas"
@ -23,20 +24,12 @@ case "$XBPS_TARGET_MACHINE" in
*) ;; *) ;;
esac esac
do_build() { if [ "$CROSS_BUILD" ]; then
make library \ # the JIT causes some trouble when cross-building
JOBS=$XBPS_MAKEJOBS \ configure_args+=" -DGRAPHBLAS_USE_JIT=off"
CMAKE_OPTIONS="-DBLA_VENDOR=$(vopt_if openblas 'OpenBLAS' 'Generic') \ fi
-DCMAKE_INSTALL_PREFIX=$DESTDIR/usr"
}
do_check() { post_install() {
make demos \
JOBS=$XBPS_MAKEJOBS
}
do_install() {
make install
vlicense LICENSE.txt vlicense LICENSE.txt
} }
@ -48,6 +41,7 @@ SuiteSparse-devel_package() {
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/cmake vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }