From cf96f3be07af082ae222db00e4297db7ac87bff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 30 Mar 2022 08:57:55 -0300 Subject: [PATCH] SuiteSparse: update to 5.12.0. --- .../patches/skip-demo-on-build.patch | 22 +++++++++++++++++++ srcpkgs/SuiteSparse/template | 7 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/SuiteSparse/patches/skip-demo-on-build.patch diff --git a/srcpkgs/SuiteSparse/patches/skip-demo-on-build.patch b/srcpkgs/SuiteSparse/patches/skip-demo-on-build.patch new file mode 100644 index 00000000000..9ec775229ed --- /dev/null +++ b/srcpkgs/SuiteSparse/patches/skip-demo-on-build.patch @@ -0,0 +1,22 @@ +This is to avoid running demos on `make install`, which break cross compile + +--- a/Makefile ++++ b/Makefile +@@ -294,7 +294,7 @@ endif + # just compile GraphBLAS + gb: + echo $(CMAKE_OPTIONS) +- ( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' ) ++ ( cd GraphBLAS && $(MAKE) JOBS=$(JOBS) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' library ) + + # compile and install GraphBLAS libgraphblas_renamed, for MATLAB + gbrenamed: +@@ -309,7 +309,7 @@ gbrenamed: + + # just compile Mongoose + mon: +- ( cd Mongoose && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' ) ++ ( cd Mongoose && $(MAKE) CMAKE_OPTIONS='$(CMAKE_OPTIONS)' library ) + + # compile and install Mongoose + moninstall: mon diff --git a/srcpkgs/SuiteSparse/template b/srcpkgs/SuiteSparse/template index ab5c829e3ab..b304dfc8f78 100644 --- a/srcpkgs/SuiteSparse/template +++ b/srcpkgs/SuiteSparse/template @@ -1,7 +1,7 @@ # Template file for 'SuiteSparse' pkgname=SuiteSparse -version=5.10.1 -revision=2 +version=5.12.0 +revision=1 # XXX: re-enable TBB=-ltbb -DSPQR_CONFIG=-DHAVE_TBB when updating, if possible make_build_args="BLAS=-lblas LAPACK=-llapack" hostmakedepends="cmake chrpath" @@ -10,8 +10,9 @@ short_desc="Suite of sparse matrix software" maintainer="Gonzalo TornarĂ­a " 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=acb4d1045f48a237e70294b950153e48dce5b5f9ca8190e86c2b8c54ce00a7ee +checksum=5fb0064a3398111976f30c5908a8c0b40df44c6dd8f0cc4bfa7b9e45d8c647de do_build() { make config library $make_build_args JOBS=$XBPS_MAKEJOBS