[packages/SuiteSparse] - updated to 7.1.0 (new config and rbio sonames)
qboosh
qboosh at pld-linux.org
Sat Jul 11 21:12:52 CEST 2026
commit a9316ef597dbab864837fcc54c055cb48334bdd6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jul 11 21:12:32 2026 +0200
- updated to 7.1.0 (new config and rbio sonames)
SuiteSparse-amdf77.patch | 105 ++++++++++++++++++++++++++--------------------
SuiteSparse-externc.patch | 93 +++++++++++++++-------------------------
SuiteSparse-link.patch | 11 -----
SuiteSparse.spec | 99 +++++++++++++++++++++++--------------------
4 files changed, 148 insertions(+), 160 deletions(-)
---
diff --git a/SuiteSparse.spec b/SuiteSparse.spec
index 6864eb1..d7ab6f8 100644
--- a/SuiteSparse.spec
+++ b/SuiteSparse.spec
@@ -7,26 +7,26 @@
%bcond_without static_libs # static libraries
# main package version
-%define suite_ver 6.0.3
+%define suite_ver 7.1.0
# see */Include/*.h /VER(SION)?_CODE, C*Sparse/Include/cs.h /CS_VER Mongoose/Include/Mongoose_Version.hpp /Mongoose_VERSION_
-%define amd_ver 3.0.2
-%define btf_ver 2.0.2
-%define camd_ver 3.0.2
-%define ccolamd_ver 3.0.2
-%define colamd_ver 3.0.2
-%define cholmod_ver 4.0.2
-%define csparse_ver 4.0.0
-%define cxsparse_ver 4.0.2
-%define klu_ver 2.0.2
-%define ldl_ver 3.0.2
-%define rbio_ver 3.0.2
-%define spex_ver 2.0.2
-%define spqr_ver 3.0.2
-%define umfpack_ver 6.0.2
-%define gpuruntime_ver 2.0.2
-%define gpuqrengine_ver 2.0.2
-%define mongoose_ver 3.0.3
-# GraphBLAS version 7.4.0, but disabled here, newer version is built from GraphBLAS.spec
+%define amd_ver 3.0.4
+%define btf_ver 2.0.4
+%define camd_ver 3.0.4
+%define ccolamd_ver 3.0.4
+%define colamd_ver 3.0.4
+%define cholmod_ver 4.0.4
+%define csparse_ver 4.0.4
+%define cxsparse_ver 4.0.4
+%define klu_ver 2.0.4
+%define ldl_ver 3.0.4
+%define rbio_ver 4.0.0
+%define spex_ver 2.0.4
+%define spqr_ver 3.0.4
+%define umfpack_ver 6.1.1
+%define gpuruntime_ver 2.0.4
+%define gpuqrengine_ver 2.0.4
+%define mongoose_ver 3.0.5
+# GraphBLAS version 8.0.2, but disabled here, newer version is built from GraphBLAS.spec
Summary: A Suite of Sparse matrix packages
Summary(pl.UTF-8): Zbiór pakietów do operacji na macierzach rzadkich
@@ -37,8 +37,7 @@ License: LGPL v2.1+, GPL v2+
Group: Libraries
#Source0Download: https://github.com/DrTimothyAldenDavis/SuiteSparse/releases
Source0: https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: fc33148a25cd6076c8070b0bbf07eb5e
-Patch0: %{name}-link.patch
+# Source0-md5: c0cd0120ee8da2167dfea4a5fee87d44
Patch1: %{name}-amdf77.patch
Patch2: %{name}-externc.patch
Patch3: %{name}-ILP32.patch
@@ -1206,7 +1205,6 @@ Statyczna biblioteka Mongoose.
%prep
%setup -q
-%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
%ifnarch %{x8664} aarch64 alpha mips64 ppc64 s390x sparc64
@@ -1236,6 +1234,12 @@ for mod in %{modules} ; do
DESTDIR=$RPM_BUILD_ROOT
done
+%if %{without cuda}
+# stubs
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib{cholmod,spqr}_cuda.*
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/cmake/SuiteSparse/Find{CHOLMOD,SPQR}_CUDA.cmake
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -1308,14 +1312,19 @@ rm -rf $RPM_BUILD_ROOT
%files config-libs
%defattr(644,root,root,755)
%doc SuiteSparse_config/README.txt
-%attr(755,root,root) %{_libdir}/libsuitesparseconfig.so.*.*.*
-%ghost %{_libdir}/libsuitesparseconfig.so.6
+%{_libdir}/libsuitesparseconfig.so.*.*.*
+%ghost %{_libdir}/libsuitesparseconfig.so.7
%files config-devel
%defattr(644,root,root,755)
%{_libdir}/libsuitesparseconfig.so
%dir %{_libdir}/cmake/SuiteSparse
%{_libdir}/cmake/SuiteSparse/FindSuiteSparse_config.cmake
+%{_libdir}/cmake/SuiteSparse/SuiteSparseBLAS*.cmake
+%{_libdir}/cmake/SuiteSparse/SuiteSparseLAPACK.cmake
+%{_libdir}/cmake/SuiteSparse/SuiteSparsePolicy.cmake
+%{_libdir}/cmake/SuiteSparse/SuiteSparseReport.cmake
+%{_libdir}/cmake/SuiteSparse/SuiteSparse_ssize_t.cmake
%if %{with static_libs}
%files config-static
@@ -1326,7 +1335,7 @@ rm -rf $RPM_BUILD_ROOT
%files AMD
%defattr(644,root,root,755)
%doc AMD/README.txt AMD/Doc/{ChangeLog,License.txt}
-%attr(755,root,root) %{_libdir}/libamd.so.*.*.*
+%{_libdir}/libamd.so.*.*.*
%ghost %{_libdir}/libamd.so.3
%files AMD-devel
@@ -1344,7 +1353,7 @@ rm -rf $RPM_BUILD_ROOT
%files AMD-fortran
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libamdf77.so.*.*.*
+%{_libdir}/libamdf77.so.*.*.*
%ghost %{_libdir}/libamdf77.so.3
%files AMD-fortran-devel
@@ -1360,7 +1369,7 @@ rm -rf $RPM_BUILD_ROOT
%files BTF
%defattr(644,root,root,755)
%doc BTF/README.txt BTF/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libbtf.so.*.*.*
+%{_libdir}/libbtf.so.*.*.*
%ghost %{_libdir}/libbtf.so.2
%files BTF-devel
@@ -1378,7 +1387,7 @@ rm -rf $RPM_BUILD_ROOT
%files CAMD
%defattr(644,root,root,755)
%doc CAMD/README.txt CAMD/Doc/{ChangeLog,License.txt}
-%attr(755,root,root) %{_libdir}/libcamd.so.*.*.*
+%{_libdir}/libcamd.so.*.*.*
%ghost %{_libdir}/libcamd.so.3
%files CAMD-devel
@@ -1397,7 +1406,7 @@ rm -rf $RPM_BUILD_ROOT
%files CCOLAMD
%defattr(644,root,root,755)
%doc CCOLAMD/README.txt CCOLAMD/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libccolamd.so.*.*.*
+%{_libdir}/libccolamd.so.*.*.*
%ghost %{_libdir}/libccolamd.so.3
%files CCOLAMD-devel
@@ -1415,7 +1424,7 @@ rm -rf $RPM_BUILD_ROOT
%files COLAMD
%defattr(644,root,root,755)
%doc COLAMD/README.txt COLAMD/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libcolamd.so.*.*.*
+%{_libdir}/libcolamd.so.*.*.*
%ghost %{_libdir}/libcolamd.so.3
%files COLAMD-devel
@@ -1433,7 +1442,7 @@ rm -rf $RPM_BUILD_ROOT
%files CHOLMOD
%defattr(644,root,root,755)
%doc CHOLMOD/README.txt CHOLMOD/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libcholmod.so.*.*.*
+%{_libdir}/libcholmod.so.*.*.*
%ghost %{_libdir}/libcholmod.so.4
%files CHOLMOD-devel
@@ -1452,7 +1461,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with cuda}
%files CHOLMOD_CUDA
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libcholmod_cuda.so.*.*.*
+%{_libdir}/libcholmod_cuda.so.*.*.*
%ghost %{_libdir}/libcholmod_cuda.so.4
%files CHOLMOD_CUDA-devel
@@ -1470,7 +1479,7 @@ rm -rf $RPM_BUILD_ROOT
%files CXSparse
%defattr(644,root,root,755)
%doc CXSparse/README.txt CXSparse/Doc/{ChangeLog,License.txt}
-%attr(755,root,root) %{_libdir}/libcxsparse.so.*.*.*
+%{_libdir}/libcxsparse.so.*.*.*
%ghost %{_libdir}/libcxsparse.so.4
%files CXSparse-devel
@@ -1488,7 +1497,7 @@ rm -rf $RPM_BUILD_ROOT
%files KLU
%defattr(644,root,root,755)
%doc KLU/README.txt KLU/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libklu.so.*.*.*
+%{_libdir}/libklu.so.*.*.*
%ghost %{_libdir}/libklu.so.2
%files KLU-devel
@@ -1507,7 +1516,7 @@ rm -rf $RPM_BUILD_ROOT
%files KLU_CHOLMOD
%defattr(644,root,root,755)
%doc KLU/User/README.txt
-%attr(755,root,root) %{_libdir}/libklu_cholmod.so.*.*.*
+%{_libdir}/libklu_cholmod.so.*.*.*
%ghost %{_libdir}/libklu_cholmod.so.2
%files KLU_CHOLMOD-devel
@@ -1525,7 +1534,7 @@ rm -rf $RPM_BUILD_ROOT
%files LDL
%defattr(644,root,root,755)
%doc LDL/README.txt LDL/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libldl.so.*.*.*
+%{_libdir}/libldl.so.*.*.*
%ghost %{_libdir}/libldl.so.3
%files LDL-devel
@@ -1544,8 +1553,8 @@ rm -rf $RPM_BUILD_ROOT
%files RBio
%defattr(644,root,root,755)
%doc RBio/README.txt RBio/Doc/{ChangeLog,License.txt}
-%attr(755,root,root) %{_libdir}/librbio.so.*.*.*
-%ghost %{_libdir}/librbio.so.3
+%{_libdir}/librbio.so.*.*.*
+%ghost %{_libdir}/librbio.so.4
%files RBio-devel
%defattr(644,root,root,755)
@@ -1562,7 +1571,7 @@ rm -rf $RPM_BUILD_ROOT
%files SPEX
%defattr(644,root,root,755)
%doc SPEX/README.md
-%attr(755,root,root) %{_libdir}/libspex.so.*.*.*
+%{_libdir}/libspex.so.*.*.*
%ghost %{_libdir}/libspex.so.2
%files SPEX-devel
@@ -1580,7 +1589,7 @@ rm -rf $RPM_BUILD_ROOT
%files SPQR
%defattr(644,root,root,755)
%doc SPQR/README.txt SPQR/Doc/ChangeLog
-%attr(755,root,root) %{_libdir}/libspqr.so.*.*.*
+%{_libdir}/libspqr.so.*.*.*
%ghost %{_libdir}/libspqr.so.3
%files SPQR-devel
@@ -1600,7 +1609,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with cuda}
%files SPQR_CUDA
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libspqr_cuda.so.*.*.*
+%{_libdir}/libspqr_cuda.so.*.*.*
%ghost %{_libdir}/libspqr_cuda.so.3
%files SPQR_CUDA-devel
@@ -1618,7 +1627,7 @@ rm -rf $RPM_BUILD_ROOT
%files UMFPACK
%defattr(644,root,root,755)
%doc UMFPACK/README.txt UMFPACK/Doc/{ChangeLog,License.txt}
-%attr(755,root,root) %{_libdir}/libumfpack.so.*.*.*
+%{_libdir}/libumfpack.so.*.*.*
%ghost %{_libdir}/libumfpack.so.6
%files UMFPACK-devel
@@ -1638,7 +1647,7 @@ rm -rf $RPM_BUILD_ROOT
%files GPURuntime
%defattr(644,root,root,755)
%doc SuiteSparse_GPURuntime/README.txt
-%attr(755,root,root) %{_libdir}/libsuitesparse_gpuruntime.so.*.*.*
+%{_libdir}/libsuitesparse_gpuruntime.so.*.*.*
%ghost %{_libdir}/libsuitesparse_gpuruntime.so.2
%files GPURuntime-devel
@@ -1656,7 +1665,7 @@ rm -rf $RPM_BUILD_ROOT
%files GPUQREngine
%defattr(644,root,root,755)
%doc GPUQREngine/README.txt
-%attr(755,root,root) %{_libdir}/libgpuqrengine.so.*.*.*
+%{_libdir}/libgpuqrengine.so.*.*.*
%ghost %{_libdir}/libgpuqrengine.so.2
%files GPUQREngine-devel
@@ -1676,7 +1685,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc Mongoose/README.md
%attr(755,root,root) %{_bindir}/mongoose
-%attr(755,root,root) %{_libdir}/libmongoose.so.*.*.*
+%{_libdir}/libmongoose.so.*.*.*
%ghost %{_libdir}/libmongoose.so.3
%files Mongoose-devel
diff --git a/SuiteSparse-amdf77.patch b/SuiteSparse-amdf77.patch
index 9c482b5..658be7f 100644
--- a/SuiteSparse-amdf77.patch
+++ b/SuiteSparse-amdf77.patch
@@ -1,66 +1,81 @@
---- SuiteSparse-6.0.3/AMD/CMakeLists.txt.orig 2022-12-25 04:37:26.000000000 +0100
-+++ SuiteSparse-6.0.3/AMD/CMakeLists.txt 2025-06-29 22:26:22.104972080 +0200
-@@ -71,11 +71,8 @@ include_directories ( Source Include ${S
- # dynamic amd library properties
+--- SuiteSparse-7.1.0/AMD/CMakeLists.txt.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/AMD/CMakeLists.txt 2026-07-11 15:22:55.838103260 +0200
+@@ -79,10 +79,9 @@ include_directories ( Source Include ${S
#-------------------------------------------------------------------------------
--if ( CMAKE_Fortran_COMPILER )
+ if ( NOT NFORTRAN )
- file ( GLOB AMD_SOURCES "Source/*.c" "Source/*.f" )
-else ( )
- file ( GLOB AMD_SOURCES "Source/*.c" )
--endif ( )
-+file ( GLOB AMD_SOURCES "Source/*.c" )
-+file ( GLOB AMDF77_SOURCES "Source/*.f" )
++ file ( GLOB AMDF77_SOURCES "Source/*.c" "Source/*.f" )
+ endif ( )
++ file ( GLOB AMD_SOURCES "Source/*.c" )
add_library ( amd SHARED ${AMD_SOURCES} )
set_target_properties ( amd PROPERTIES
-@@ -84,6 +81,13 @@ set_target_properties ( amd PROPERTIES
- SOVERSION ${AMD_VERSION_MAJOR}
- PUBLIC_HEADER "Include/amd.h" )
+@@ -93,6 +92,15 @@ set_target_properties ( amd PROPERTIES
+ PUBLIC_HEADER "Include/amd.h"
+ WINDOWS_EXPORT_ALL_SYMBOLS ON )
-+if ( CMAKE_Fortran_COMPILER )
-+add_library ( amdf77 SHARED ${AMDF77_SOURCES} )
-+set_target_properties ( amdf77 PROPERTIES
-+ VERSION ${AMD_VERSION_MAJOR}.${AMD_VERSION_MINOR}.${AMD_VERSION_SUB}
-+ SOVERSION ${AMD_VERSION_MAJOR} )
++if ( NOT NFORTRAN )
++ add_library ( amdf77 SHARED ${AMDF77_SOURCES} )
++ set_target_properties ( amdf77 PROPERTIES
++ VERSION ${AMD_VERSION_MAJOR}.${AMD_VERSION_MINOR}.${AMD_VERSION_SUB}
++ C_STANDARD 11
++ C_STANDARD_REQUIRED ON
++ SOVERSION ${AMD_VERSION_MAJOR}
++ WINDOWS_EXPORT_ALL_SYMBOLS ON )
+endif ( )
-+
#-------------------------------------------------------------------------------
# static amd library properties
#-------------------------------------------------------------------------------
-@@ -95,6 +99,13 @@ if ( NOT NSTATIC )
- C_STANDARD_REQUIRED 11
- OUTPUT_NAME amd
- SOVERSION ${AMD_VERSION_MAJOR} )
-+if ( CMAKE_Fortran_COMPILER )
-+ add_library ( amdf77_static STATIC ${AMDF77_SOURCES} )
-+ set_target_properties ( amdf77_static PROPERTIES
-+ VERSION ${AMD_VERSION_MAJOR}.${AMD_VERSION_MINOR}.${AMD_VERSION_SUB}
-+ OUTPUT_NAME amdf77
-+ SOVERSION ${AMD_VERSION_MAJOR} )
-+endif ( )
+@@ -110,6 +118,16 @@ if ( NOT NSTATIC )
+ set_target_properties ( amd_static PROPERTIES
+ OUTPUT_NAME amd_static )
+ endif ( )
++
++ if ( NOT NFORTRAN )
++ add_library ( amdf77_static STATIC ${AMD_SOURCES} )
++ set_target_properties ( amdf77_static PROPERTIES
++ VERSION ${AMD_VERSION_MAJOR}.${AMD_VERSION_MINOR}.${AMD_VERSION_SUB}
++ C_STANDARD 11
++ C_STANDARD_REQUIRED ON
++ OUTPUT_NAME amdf77
++ SOVERSION ${AMD_VERSION_MAJOR} )
++ endif ( )
endif ( )
#-------------------------------------------------------------------------------
-@@ -126,6 +137,10 @@ if ( GLOBAL_INSTALL )
- install ( TARGETS amd
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
- PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
-+ if ( CMAKE_Fortran_COMPILER )
-+ install ( TARGETS amdf77
-+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
+@@ -136,8 +136,14 @@ endif ( )
+
+ # suitesparseconfig:
+ target_link_libraries ( amd PRIVATE ${SUITESPARSE_CONFIG_LIBRARIES} )
++if ( NOT NFORTRAN )
++ target_link_libraries ( amdf77 PRIVATE ${SUITESPARSE_CONFIG_LIBRARIES} )
++endif ( )
+ if ( NOT NSTATIC )
+ target_link_libraries ( amd_static PUBLIC ${SUITESPARSE_CONFIG_STATIC} )
++ if ( NOT NFORTRAN )
++ target_link_libraries ( amdf77_static PRIVATE ${SUITESPARSE_CONFIG_STATIC} )
+ endif ( )
- install ( FILES ${CMAKE_SOURCE_DIR}/cmake_modules/FindAMD.cmake
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/SuiteSparse
- COMPONENT Development )
-@@ -133,6 +148,10 @@ if ( GLOBAL_INSTALL )
+ endif ( )
+
+ # libm:
+@@ -142,9 +160,17 @@ install ( TARGETS amd
+ install ( FILES ${CMAKE_SOURCE_DIR}/cmake_modules/FindAMD.cmake
+ DESTINATION ${SUITESPARSE_LIBDIR}/cmake/SuiteSparse
+ COMPONENT Development )
++if ( NOT NFORTRAN )
++ install ( TARGETS amdf77
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} )
++endif ( )
+ if ( NOT NSTATIC )
install ( TARGETS amd_static
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} )
- endif ( )
-+ if ( NOT NSTATIC AND CMAKE_Fortran_COMPILER )
-+ install ( TARGETS amdf77_static
-+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} )
+ ARCHIVE DESTINATION ${SUITESPARSE_LIBDIR} )
++ if ( NOT NFORTRAN )
++ install ( TARGETS amdf77_static
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} )
+ endif ( )
endif ( )
- if ( INSIDE_SUITESPARSE )
+ #-------------------------------------------------------------------------------
diff --git a/SuiteSparse-externc.patch b/SuiteSparse-externc.patch
index 29ba196..f914fd7 100644
--- a/SuiteSparse-externc.patch
+++ b/SuiteSparse-externc.patch
@@ -24,8 +24,8 @@
//------------------------------------------------------------------------------
// string and token handling macros
//------------------------------------------------------------------------------
---- SuiteSparse-6.0.1/AMD/Include/amd.h.orig 2025-06-29 11:48:25.092336455 +0200
-+++ SuiteSparse-6.0.1/AMD/Include/amd.h 2025-06-29 11:48:27.492323453 +0200
+--- SuiteSparse-7.1.0/AMD/Include/amd.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/AMD/Include/amd.h 2026-07-11 16:36:47.020764149 +0200
@@ -35,13 +35,13 @@
#ifndef AMD_H
#define AMD_H
@@ -39,11 +39,11 @@
-#include "SuiteSparse_config.h"
-
- SUITESPARSE_PUBLIC int amd_order /* returns AMD_OK, AMD_OK_BUT_JUMBLED,
+ int amd_order /* returns AMD_OK, AMD_OK_BUT_JUMBLED,
* AMD_INVALID, or AMD_OUT_OF_MEMORY */
(
---- SuiteSparse-6.0.1/BTF/Include/btf.h.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/BTF/Include/btf.h 2025-06-29 11:49:10.875421760 +0200
+--- SuiteSparse-7.1.0/BTF/Include/btf.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/BTF/Include/btf.h 2026-07-11 16:37:25.157224212 +0200
@@ -90,13 +90,13 @@
#ifndef _BTF_H
#define _BTF_H
@@ -57,11 +57,11 @@
-#include "SuiteSparse_config.h"
-
- SUITESPARSE_PUBLIC
int32_t btf_maxtrans /* returns # of columns matched */
(
---- SuiteSparse-6.0.1/CAMD/Include/camd.h.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/CAMD/Include/camd.h 2025-06-29 11:50:04.145133173 +0200
+ /* --- input, not modified: --- */
+--- SuiteSparse-7.1.0/CAMD/Include/camd.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/CAMD/Include/camd.h 2026-07-11 16:38:01.223695490 +0200
@@ -23,13 +23,13 @@
#ifndef CAMD_H
#define CAMD_H
@@ -75,7 +75,7 @@
-#include "SuiteSparse_config.h"
-
- SUITESPARSE_PUBLIC int camd_order /* returns CAMD_OK, CAMD_OK_BUT_JUMBLED,
+ int camd_order /* returns CAMD_OK, CAMD_OK_BUT_JUMBLED,
* CAMD_INVALID, or CAMD_OUT_OF_MEMORY */
(
--- SuiteSparse-6.0.1/CCOLAMD/Include/ccolamd.h.orig 2022-11-14 01:04:25.000000000 +0100
@@ -121,11 +121,11 @@
/* ========================================================================== */
/* === COLAMD version ======================================================= */
/* ========================================================================== */
---- SuiteSparse-6.0.3/CHOLMOD/Include/cholmod.h.orig 2022-12-25 04:37:26.000000000 +0100
-+++ SuiteSparse-6.0.3/CHOLMOD/Include/cholmod.h 2025-06-30 06:25:16.729303259 +0200
+--- SuiteSparse-7.1.0/CHOLMOD/Include/cholmod.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/CHOLMOD/Include/cholmod.h 2026-07-11 16:46:47.400844944 +0200
@@ -102,11 +102,6 @@
#define CHOLMOD_SUB_VERSION 0
- #define CHOLMOD_SUBSUB_VERSION 2
+ #define CHOLMOD_SUBSUB_VERSION 4
-/* make it easy for C++ programs to include CHOLMOD */
-#ifdef __cplusplus
@@ -165,8 +165,8 @@
int createMapOnDevice ( int64_t *d_Map, int64_t *d_Ls, int64_t psi, int64_t nsrow );
int createRelativeMapOnDevice ( int64_t *d_Map, int64_t *d_Ls,
---- SuiteSparse-6.0.1/CSparse/Include/cs.h.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/CSparse/Include/cs.h 2025-06-29 12:21:36.111550178 +0200
+--- SuiteSparse-7.1.0/CSparse/Include/cs.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/CSparse/Include/cs.h 2026-07-11 16:48:14.433706780 +0200
@@ -12,6 +12,11 @@
#ifdef MATLAB_MEX_FILE
#include "mex.h"
@@ -178,7 +178,7 @@
+
#define CS_VER 4 /* CSparse Version */
#define CS_SUBVER 0
- #define CS_SUBSUB 0
+ #define CS_SUBSUB 4
@@ -149,4 +154,9 @@ csn *cs_ndone (csn *N, cs *C, void *w, v
#define CS_MARK(w,j) { w [j] = CS_FLIP (w [j]) ; }
#define CS_CSC(A) (A && (A->nz == -1))
@@ -189,18 +189,18 @@
+#endif
+
#endif
---- SuiteSparse-6.0.1/CXSparse/Include/cs.h.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/CXSparse/Include/cs.h 2025-06-29 12:23:59.074109017 +0200
+--- SuiteSparse-7.1.0/CXSparse/Include/cs.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/CXSparse/Include/cs.h 2026-07-11 16:49:21.343344299 +0200
@@ -26,6 +26,8 @@
#ifndef _CXS_H
#define _CXS_H
+#include "SuiteSparse_config.h"
+
- #ifdef __cplusplus
- #ifndef NCOMPLEX
- #include <complex>
-@@ -46,7 +48,6 @@ extern "C" {
+ #if 1
+ #include <complex.h>
+ #define cs_complex_t double _Complex
+@@ -42,7 +44,6 @@ extern "C" {
#define CS_COPYRIGHT "Copyright (c) Timothy A. Davis, 2006-2022"
#define CXSPARSE
@@ -230,26 +230,24 @@
/* -------------------------------------------------------------------------- */
/* Symbolic object - contains the pre-ordering computed by klu_analyze */
/* -------------------------------------------------------------------------- */
---- SuiteSparse-6.0.1/LDL/Include/ldl.h.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/LDL/Include/ldl.h 2025-06-29 12:25:09.873725462 +0200
-@@ -9,6 +9,10 @@
+--- SuiteSparse-7.1.0/LDL/Include/ldl.h.orig 2023-06-30 04:06:35.000000000 +0200
++++ SuiteSparse-7.1.0/LDL/Include/ldl.h 2026-07-11 17:09:00.830287803 +0200
+@@ -10,13 +10,13 @@
+ #ifndef LDL_H
+ #define LDL_H
- #include "SuiteSparse_config.h"
-
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
++#include "SuiteSparse_config.h"
+
+ /* make it easy for C++ programs to include LDL */
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
+-#include "SuiteSparse_config.h"
+-
#ifdef LDL_LONG
#define LDL_int int64_t
#define LDL_ID "%" PRId64
-@@ -123,3 +127,6 @@ int64_t ldl_l_valid_matrix ( int64_t n,
- #define LDL_VERSION_CODE(main,sub) ((main) * 1000 + (sub))
- #define LDL_VERSION LDL_VERSION_CODE(LDL_MAIN_VERSION,LDL_SUB_VERSION)
-
-+#ifdef __cplusplus
-+}
-+#endif
--- SuiteSparse-6.0.1/RBio/Include/RBio.h.orig 2022-11-14 01:04:25.000000000 +0100
+++ SuiteSparse-6.0.1/RBio/Include/RBio.h 2025-06-29 12:26:00.230119325 +0200
@@ -47,12 +47,12 @@
@@ -267,29 +265,6 @@
/* -------------------------------------------------------------------------- */
/* error codes */
/* -------------------------------------------------------------------------- */
---- SuiteSparse-6.0.1/SPEX/Include/SPEX.h.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/SPEX/Include/SPEX.h 2025-06-29 12:29:05.822447218 +0200
-@@ -255,6 +255,10 @@
- #include <assert.h>
- #include "SuiteSparse_config.h"
-
-+#ifdef __cplusplus
-+extern "C" {
-+#endif
-+
- //------------------------------------------------------------------------------
- // Version
- //------------------------------------------------------------------------------
-@@ -952,5 +956,9 @@ SPEX_info SPEX_Left_LU_solve //
- const SPEX_options* option
- ) ;
-
-+#ifdef __cplusplus
-+}
-+#endif
-+
- #endif
-
--- SuiteSparse-6.0.1/SPQR/Include/SuiteSparseQR_C.h.orig 2022-11-14 01:04:25.000000000 +0100
+++ SuiteSparse-6.0.1/SPQR/Include/SuiteSparseQR_C.h 2025-06-29 12:31:45.671581241 +0200
@@ -10,6 +10,8 @@
diff --git a/SuiteSparse-link.patch b/SuiteSparse-link.patch
deleted file mode 100644
index 578a9af..0000000
--- a/SuiteSparse-link.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- SuiteSparse-6.0.1/Mongoose/CMakeLists.txt.orig 2022-11-14 01:04:25.000000000 +0100
-+++ SuiteSparse-6.0.1/Mongoose/CMakeLists.txt 2025-06-29 20:30:50.805855483 +0200
-@@ -175,7 +175,7 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMA
- set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
-
- # Build the Mongoose library
--add_library(mongoose_lib ${MONGOOSE_LIB_FILES})
-+add_library(mongoose_lib STATIC ${MONGOOSE_LIB_FILES})
- set_property(TARGET mongoose_lib PROPERTY POSITION_INDEPENDENT_CODE ON)
- set_target_properties(mongoose_lib
- PROPERTIES OUTPUT_NAME mongoose)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SuiteSparse.git/commitdiff/a9316ef597dbab864837fcc54c055cb48334bdd6
More information about the pld-cvs-commit
mailing list