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