diff mbox series

[meta-oe,3/8] suitesparse: upgrade 5.10.1 -> 7.14.1

Message ID 20261127041517.1773986-4-khem.raj@oss.qualcomm.com
State New
Headers show
Series Major upgrades: opencv 5, mongodb 7, influxdb3 and more | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:15 a.m. UTC
- 6.0: CMake build system for all packages; Fortran is optional
- 7.0: SuiteSparse_config struct hidden behind get/set methods;
  UMFPACK gained copy/serialize/deserialize
- CHOLMOD 5: single precision and 32/64-bit integer variants; METIS
  is now internal to CHOLMOD (symbols renamed), libmetis is no
  longer installed; SLIP_LU is replaced by SPEX
- new packages ParU, LAGraph; GraphBLAS 10.5.1 with a CPU JIT
- headers install to include/suitesparse, CMake config and
  pkg-config files are provided; sonames are bumped

The Makefile wrapper is gone, so build with the root CMakeLists.txt
through the cmake class and drop all patches, which only touched
the old Makefiles, bundled metis and the old CMake minimum. Disable
the GraphBLAS JIT (it would build and run a host tool and compile
kernels at run time), CUDA, Fortran, the demos and the SPEX Python
helper library, and pin BLAS discovery to the generic vendor. Do not
set the $ORIGIN install rpath and blank the compiler/flags strings
GraphBLAS records in GB_config.h for the JIT, which would otherwise
leak build paths. OpenMP becomes a PACKAGECONFIG. Default FILES
cover the libraries now, so the explicit list (with the removed
libmetis and libsliplu) is dropped, as is chrpath-native. Add an
upstream version check.

Build only the shared libraries and drop the recipe sysroot paths of
BLAS/LAPACK/GMP/MPFR/OpenMP that SuiteSparse writes into its CMake and
pkg-config files (buildpaths QA warnings).

License-Update: SLIP_LU replaced by SPEX (LGPL-3.0-or-later OR
GPL-2.0-or-later), new ParU (GPL-3.0-or-later) and LAGraph
(BSD-2-Clause) sections, CHOLMOD headers now Apache-2.0, copyright
years updated. LICENSE is re-derived from the per-package licenses
(LGPL-2.0-only was wrong, the LGPL parts are LGPL-2.1-or-later and
the GPL parts are -or-later except Mongoose, GPL-3.0-only).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...XXFLAGS-from-environment-in-Mongoose.patch | 45 ----------
 ...serve-links-when-installing-libmetis.patch | 24 ------
 ...-Add-version-information-to-libmetis.patch | 51 -----------
 .../0004-Allow-build-with-CMake-4.patch       | 86 -------------------
 ...dd-install-rpath-to-shared-libraries.patch | 37 --------
 .../suitesparse/makefile-quoting.patch        | 32 -------
 .../suitesparse/suitesparse_5.10.1.bb         | 69 ---------------
 .../suitesparse/suitesparse_7.14.1.bb         | 48 +++++++++++
 8 files changed, 48 insertions(+), 344 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch
 delete mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
 create mode 100644 meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch
deleted file mode 100644
index 47865de858..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch
+++ /dev/null
@@ -1,45 +0,0 @@ 
-From 83628b471a1a79dae50bb158fca9448b668dd3a6 Mon Sep 17 00:00:00 2001
-From: Gregory Anders <greg@gpanders.com>
-Date: Wed, 21 Oct 2020 10:43:16 -0600
-Subject: [PATCH] Preserve CXXFLAGS from environment in Mongoose
-
-This allows CXXFLAGS set in the environment to also be used in the CMake
-build process, instead of overwriting them. This is useful in a cross
-compile context where the CXXFLAGS variable might contain necessary
-flags for cross compiling.
----
-Upstream-Status: Pending
-
- Mongoose/CMakeLists.txt | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt
-index 7e134ab..91a7f70 100644
---- a/Mongoose/CMakeLists.txt
-+++ b/Mongoose/CMakeLists.txt
-@@ -321,14 +321,14 @@ add_test(Unit_Test_EdgeSep ./tests/mongoose_unit_test_edgesep)
- message(STATUS "CMAKE_CXX_COMPILER: " ${BoldBlue} ${CMAKE_CXX_COMPILER_ID} ${ColourReset})
- if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "AppleClang")
-     # using Clang
--    SET(CMAKE_CXX_FLAGS "-O3 -fwrapv")
-+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -fwrapv")
-     # Debug flags for Clang
-     SET(CMAKE_CXX_FLAGS_DEBUG "--coverage -g -fwrapv")
-     SET(CMAKE_C_FLAGS_DEBUG "--coverage -g")
-     SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "--coverage -g")
- elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-     # using GCC
--    SET(CMAKE_CXX_FLAGS "-O3 -fwrapv")
-+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -fwrapv")
-     # Debug flags for GCC
-     if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.6")
-         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
-@@ -339,7 +339,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-     SET(CMAKE_EXE_LINKER_FLAGS_DEBUG "-fprofile-arcs -ftest-coverage")
- elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
-     # using Intel C++
--    SET(CMAKE_CXX_FLAGS "-O3 -no-prec-div -xHOST -ipo -fwrapv")
-+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -no-prec-div -xHOST -ipo -fwrapv")
-     # Debug flags for Intel
-     SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -Wall -fwrapv")
-     SET(CMAKE_C_FLAGS_DEBUG "-g -O0 -Wall")
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch
deleted file mode 100644
index d80c1a7362..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0002-Preserve-links-when-installing-libmetis.patch
+++ /dev/null
@@ -1,24 +0,0 @@ 
-From 31175fb408a4f5e85e39a9aabd4a29f9d9c1fe25 Mon Sep 17 00:00:00 2001
-From: Gregory Anders <greg@gpanders.com>
-Date: Wed, 21 Oct 2020 15:26:52 -0600
-Subject: [PATCH] Preserve links when installing libmetis
-
----
-Upstream-Status: Pending
-
- Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile b/Makefile
-index 7631955..57fd022 100644
---- a/Makefile
-+++ b/Makefile
-@@ -76,7 +76,7 @@ ifeq (,$(MY_METIS_LIB))
- 	@mkdir -p $(INSTALL_LIB)
- 	@mkdir -p $(INSTALL_INCLUDE)
- 	@mkdir -p $(INSTALL_DOC)
--	- $(CP) lib/libmetis.* $(INSTALL_LIB)
-+	- $(CP) -d lib/libmetis.* $(INSTALL_LIB)
- 	- $(CP) metis-5.1.0/manual/manual.pdf $(INSTALL_DOC)/METIS_manual.pdf
- 	- $(CP) metis-5.1.0/README.txt $(INSTALL_DOC)/METIS_README.txt
-         # the following is needed only on the Mac, so *.dylib is hardcoded:
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch
deleted file mode 100644
index fc83897a05..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0003-Add-version-information-to-libmetis.patch
+++ /dev/null
@@ -1,51 +0,0 @@ 
-From 11ab355fdda93b762fcc07ac3f7c6ab1be0a5f5a Mon Sep 17 00:00:00 2001
-From: Gregory Anders <greg@gpanders.com>
-Date: Wed, 21 Oct 2020 15:27:07 -0600
-Subject: [PATCH] Add version information to libmetis
-
----
-Upstream-Status: Pending
-
- metis-5.1.0/Makefile                | 8 ++++----
- metis-5.1.0/libmetis/CMakeLists.txt | 1 +
- 2 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/metis-5.1.0/Makefile b/metis-5.1.0/Makefile
-index 9cc03b9..c445d85 100644
---- a/metis-5.1.0/Makefile
-+++ b/metis-5.1.0/Makefile
-@@ -18,8 +18,11 @@ systype = $(shell uname -s)
- 
- BUILDDIR = build/$(systype)-$(cputype)
- 
-+VERNUM=5.1.0
-+PKGNAME=metis-$(VERNUM)
-+
- # Process configuration options.
--CONFIG_FLAGS = 
-+CONFIG_FLAGS = -DMETIS_VERSION=$(VERNUM)
- ifeq ($(gklib_path), not-set)
-     gklib_path = GKlib
- endif
-@@ -52,9 +55,6 @@ ifneq ($(cc), not-set)
-     CONFIG_FLAGS += -DCMAKE_C_COMPILER=$(cc)
- endif
- 
--VERNUM=5.1.0
--PKGNAME=metis-$(VERNUM)
--
- JOBS ?= 1
- 
- define run-config
-diff --git a/metis-5.1.0/libmetis/CMakeLists.txt b/metis-5.1.0/libmetis/CMakeLists.txt
-index 120e94d..11bde87 100644
---- a/metis-5.1.0/libmetis/CMakeLists.txt
-+++ b/metis-5.1.0/libmetis/CMakeLists.txt
-@@ -4,6 +4,7 @@ include_directories(.)
- file(GLOB metis_sources *.c)
- # Build libmetis.
- add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources})
-+set_target_properties(metis PROPERTIES VERSION ${METIS_VERSION})
- if(UNIX)
-   target_link_libraries(metis m)
- endif()
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch
deleted file mode 100644
index 5fc3f666c3..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0004-Allow-build-with-CMake-4.patch
+++ /dev/null
@@ -1,86 +0,0 @@ 
-From 57e1fd1a4bf7878136a9f5070dadb310f233f489 Mon Sep 17 00:00:00 2001
-From: Tim Davis <DrTimothyAldenDavis@gmail.com>
-Date: Wed, 9 Mar 2022 10:33:33 -0600
-Subject: [PATCH] require cmake 3.13
-
-Upstream-Status: Backport [https://github.com/DrTimothyAldenDavis/SuiteSparse/commit/ae0be0028e68d429feb565f093aec875235447cc]
-Backport-Changes:
- * Also update the two bundled GraphBLAS CMake entry points reached by
-   the SuiteSparse 5.10.1 build.
- * Preserve the METIS_VERSION value supplied by the existing OE patch
-   after CMake policy CMP0048 becomes NEW.
-
-(cherry picked from commit ae0be0028e68d429feb565f093aec875235447cc)
-Signed-off-by: Deepak Rathore <deeratho@cisco.com>
----
- GraphBLAS/CMakeLists.txt           | 2 +-
- GraphBLAS/GraphBLAS/CMakeLists.txt | 2 +-
- Mongoose/CMakeLists.txt            | 2 +-
- metis-5.1.0/CMakeLists.txt         | 2 +-
- metis-5.1.0/GKlib/CMakeLists.txt   | 2 +-
- 5 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/GraphBLAS/CMakeLists.txt b/GraphBLAS/CMakeLists.txt
-index 7eb999189..eecfa0ac5 100644
---- a/GraphBLAS/CMakeLists.txt
-+++ b/GraphBLAS/CMakeLists.txt
-@@ -12,7 +12,7 @@
- #-------------------------------------------------------------------------------
- 
- # cmake 3.13 is preferred.
--cmake_minimum_required ( VERSION 2.8.12 )
-+cmake_minimum_required ( VERSION 3.13 )
- 
- message ( STATUS "CMake version: " ${CMAKE_VERSION} )
- 
-diff --git a/GraphBLAS/GraphBLAS/CMakeLists.txt b/GraphBLAS/GraphBLAS/CMakeLists.txt
-index f365251db..26928dc0a 100644
---- a/GraphBLAS/GraphBLAS/CMakeLists.txt
-+++ b/GraphBLAS/GraphBLAS/CMakeLists.txt
-@@ -17,7 +17,7 @@
- #-------------------------------------------------------------------------------
- 
- # cmake 3.13 is preferred.
--cmake_minimum_required ( VERSION 2.8.12 )
-+cmake_minimum_required ( VERSION 3.13 )
- 
- message ( STATUS "CMake version: " ${CMAKE_VERSION} )
- 
-diff --git a/Mongoose/CMakeLists.txt b/Mongoose/CMakeLists.txt
-index 91a7f70ef..361fa1239 100644
---- a/Mongoose/CMakeLists.txt
-+++ b/Mongoose/CMakeLists.txt
-@@ -20,7 +20,7 @@
- #
- #   make distclean
- 
--cmake_minimum_required(VERSION 2.8)
-+cmake_minimum_required(VERSION 3.13)
- include(CMake/cmake_colors.cmake)
- 
- if (POLICY CMP0048)
-diff --git a/metis-5.1.0/CMakeLists.txt b/metis-5.1.0/CMakeLists.txt
-index 318019bfc..1a72ed0d0 100644
---- a/metis-5.1.0/CMakeLists.txt
-+++ b/metis-5.1.0/CMakeLists.txt
-@@ -1,5 +1,5 @@
--cmake_minimum_required(VERSION 2.8)
--project(METIS)
-+cmake_minimum_required(VERSION 3.13)
-+project(METIS VERSION ${METIS_VERSION})
- 
- set(GKLIB_PATH "GKlib" CACHE PATH "path to GKlib")
- set(SHARED FALSE CACHE BOOL "build a shared library")
-diff --git a/metis-5.1.0/GKlib/CMakeLists.txt b/metis-5.1.0/GKlib/CMakeLists.txt
-index 67b600aa6..2f4ae75d7 100644
---- a/metis-5.1.0/GKlib/CMakeLists.txt
-+++ b/metis-5.1.0/GKlib/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 2.8)
-+cmake_minimum_required(VERSION 3.13)
- project(GKlib)
- 
- get_filename_component(abs "." ABSOLUTE)
--- 
-2.35.6
-
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch
deleted file mode 100644
index a6105f73f8..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse/0005-Do-not-add-install-rpath-to-shared-libraries.patch
+++ /dev/null
@@ -1,37 +0,0 @@ 
-From f8be0a727c506d25450386c370a846e66b3f3297 Mon Sep 17 00:00:00 2001
-From: Deepak Rathore <deeratho@cisco.com>
-Date: Wed, 5 Aug 2026 00:00:00 -0700
-Subject: [PATCH] Do not add install rpath to shared libraries
-
-SuiteSparse adds the install library directory to Linux shared library
-links through -Wl,-rpath=$(INSTALL_LIB). In Yocto builds INSTALL_LIB
-resolves to a build or install path under TMPDIR, so the final ELF files
-keep an absolute TMPDIR path in .dynstr even after chrpath removes the
-dynamic rpath tag.
-
-Yocto stages dependent SuiteSparse libraries through normal sysroot and
-package runtime dependencies. The install-tree rpath is not required for
-packaged target libraries, and it makes buildpaths QA fail.
-
-Upstream-Status: Inappropriate [oe-specific: build/install path triggers buildpaths QA]
-
-Signed-off-by: Deepak Rathore <deeratho@cisco.com>
----
- SuiteSparse_config/SuiteSparse_config.mk | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/SuiteSparse_config/SuiteSparse_config.mk b/SuiteSparse_config/SuiteSparse_config.mk
-index 8309c5142..807323c4c 100644
---- a/SuiteSparse_config/SuiteSparse_config.mk
-+++ b/SuiteSparse_config/SuiteSparse_config.mk
-@@ -358,7 +358,7 @@ SUITESPARSE_VERSION = 5.10.1
- 
-     ifeq ($(UNAME),Linux)
-         # add the realtime library, librt, and SuiteSparse/lib
--        LDLIBS += -lrt -Wl,-rpath=$(INSTALL_LIB)
-+        LDLIBS += -lrt
-     endif
- 
-     #---------------------------------------------------------------------------
--- 
-2.43.0
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch
deleted file mode 100644
index 6bd2ffbb55..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch
+++ /dev/null
@@ -1,32 +0,0 @@ 
-OE's CC and CXX contain spaces and extra options which is incompatible with 
-cmake way of handling them. Remove passing the compiler options this way in
-favour of our normal cmake toolchain files added elsewhere.
-
-Upstream-Status: Pending
-
-Index: git/Makefile
-===================================================================
---- git.orig/Makefile
-+++ git/Makefile
-@@ -282,7 +282,7 @@ metis: include/metis.h
- # hardcoded below.
- include/metis.h:
- ifeq (,$(MY_METIS_LIB))
--	- ( cd metis-5.1.0 && $(MAKE) config shared=1 prefix=$(SUITESPARSE) cc=$(CC) )
-+	- ( cd metis-5.1.0 && $(MAKE) config shared=1 prefix=$(SUITESPARSE) )
- 	- ( cd metis-5.1.0 && $(MAKE) )
- 	- ( cd metis-5.1.0 && $(MAKE) install )
- 	- $(SO_INSTALL_NAME) $(SUITESPARSE)/lib/libmetis.dylib \
-Index: git/SuiteSparse_config/SuiteSparse_config.mk
-===================================================================
---- git.orig/SuiteSparse_config/SuiteSparse_config.mk
-+++ git/SuiteSparse_config/SuiteSparse_config.mk
-@@ -146,7 +146,7 @@ SUITESPARSE_VERSION = 5.10.1
-         endif
-     endif
- 
--    CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC)
-+    #CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC)
- 
-     #---------------------------------------------------------------------------
-     # CFLAGS for the C/C++ compiler
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
deleted file mode 100644
index a2fee6400c..0000000000
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
+++ /dev/null
@@ -1,69 +0,0 @@ 
-LICENSE = "Apache-2.0 AND BSD-3-Clause AND GPL-2.0-only AND GPL-3.0-only AND LGPL-2.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5fa987762101f748a6cdd951b64ffc6b"
-SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branch=stable \
-           file://0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch \
-           file://0002-Preserve-links-when-installing-libmetis.patch \
-           file://0003-Add-version-information-to-libmetis.patch \
-           file://makefile-quoting.patch \
-           file://0004-Allow-build-with-CMake-4.patch \
-           file://0005-Do-not-add-install-rpath-to-shared-libraries.patch \
-           "
-SRCREV = "538273cfd53720a10e34a3d80d3779b607e1ac26"
-
-
-DEPENDS = "cmake-native lapack gmp mpfr chrpath-native"
-
-PROVIDES = "mongoose graphblas"
-RPROVIDES:${PN} = "mongoose graphblas"
-
-inherit cmake
-
-B = "${S}"
-
-export CMAKE_OPTIONS = " \
-    -DCMAKE_INSTALL_PREFIX=${D}${prefix} \
-    -DCMAKE_INSTALL_LIBDIR=${baselib} \
-"
-
-OECMAKE_SOURCEPATH = "${S}/Mongoose ${S}/metis-5.1.0 ${S}/GraphBLAS"
-
-do_compile () {
-	oe_runmake library
-}
-
-do_install () {
-	oe_runmake prefix=${D}${prefix} INSTALL=${D}${prefix} install
-
-        # Remove runtime paths from shared libraries
-        for file in ${D}${libdir}/*.so.*; do
-            if [ ! -L "$file" ]; then
-                chrpath -d "$file"
-            fi
-        done
-}
-
-FILES:${PN} += " \
-    ${libdir}/libmongoose.so.* \
-    ${libdir}/libgraphblas.so.* \
-    ${libdir}/libmetis.so.* \
-    ${libdir}/libsuitesparseconfig.so.* \
-    ${libdir}/libamd.so.* \
-    ${libdir}/libbtf.so.* \
-    ${libdir}/libcamd.so.* \
-    ${libdir}/libccolamd.so.* \
-    ${libdir}/libcolamd.so.* \
-    ${libdir}/libcholmod.so.* \
-    ${libdir}/libcxsparse.so.* \
-    ${libdir}/libldl.so.* \
-    ${libdir}/libklu.so.* \
-    ${libdir}/libumfpack.so.* \
-    ${libdir}/librbio.so.* \
-    ${libdir}/libspqr.so.* \
-    ${libdir}/libsliplu.so.* \
-    ${bindir}/mongoose \
-"
-
-FILES:${PN}-staticdev += "${libdir}/libmongoose.a"
-FILES:${PN}-dev += "${includedir} ${libdir}/*.so"
-
-EXCLUDE_FROM_WORLD = "1"
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb
new file mode 100644
index 0000000000..334f5bbf04
--- /dev/null
+++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_7.14.1.bb
@@ -0,0 +1,48 @@ 
+SUMMARY = "Suite of sparse matrix algorithms"
+HOMEPAGE = "https://people.engr.tamu.edu/davis/suitesparse.html"
+LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.1-or-later AND (LGPL-3.0-or-later OR GPL-2.0-or-later)"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9a78501f72366f5b3d08a496c9df9fee"
+
+SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branch=stable;tag=v${PV}"
+SRCREV = "e202a5bcef55f5a780c26830ebd6ff13af193baf"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>\d+(\.\d+)+)$"
+
+DEPENDS = "lapack gmp mpfr"
+
+PROVIDES = "mongoose graphblas"
+RPROVIDES:${PN} = "mongoose graphblas"
+
+inherit cmake
+
+EXTRA_OECMAKE = " \
+    -DBLA_VENDOR=Generic \
+    -DBUILD_STATIC_LIBS=OFF \
+    -DCMAKE_SKIP_INSTALL_RPATH=ON \
+    -DGRAPHBLAS_USE_JIT=OFF \
+    -DSUITESPARSE_DEMOS=OFF \
+    -DSUITESPARSE_USE_CUDA=OFF \
+    -DSUITESPARSE_USE_FORTRAN=OFF \
+    -DSUITESPARSE_USE_PYTHON=OFF \
+"
+
+SUITESPARSE_OPENMP_DEPS = ""
+SUITESPARSE_OPENMP_DEPS:toolchain-clang = "openmp"
+
+PACKAGECONFIG ??= "openmp"
+PACKAGECONFIG[openmp] = "-DSUITESPARSE_USE_OPENMP=ON,-DSUITESPARSE_USE_OPENMP=OFF,${SUITESPARSE_OPENMP_DEPS}"
+
+do_configure:append() {
+    # GB_config.h embeds the compiler and flags for the JIT, which is disabled
+    sed -i -e '/^#define GB_\(C_COMPILER\|C_FLAGS\|C_LINK_FLAGS\|OMP_INC\|OMP_INC_DIRS\|C_LIBRARIES\|CMAKE_LIBRARIES\) /s/".*"/""/' \
+        ${S}/GraphBLAS/Config/GB_config.h
+}
+
+do_install:append() {
+    # Drop recipe sysroot paths of dependencies from the CMake and pkg-config files
+    sed -i -e 's#;${RECIPE_SYSROOT}${includedir}##g' -e 's#"${RECIPE_SYSROOT}${includedir};*#"#g' \
+        ${D}${libdir}/cmake/*/*.cmake
+    sed -i -e 's#${RECIPE_SYSROOT}${libdir}/lib\([^/ ]*\)\.so#-l\1#g' ${D}${libdir}/pkgconfig/*.pc
+}
+
+EXCLUDE_FROM_WORLD = "1"