From 6ade73712b6134137c7ad2a99c228e3db2ec8302 Mon Sep 17 00:00:00 2001
From: Anke Kreuzer <zitz1@jwlogin02.juwels>
Date: Wed, 11 Jan 2023 08:35:00 +0100
Subject: [PATCH] Added SuiteSparce for gcccoremkl toolchain in 2023

---
 ...5.13.0-gcccoremkl-11.3.0-2022.1.0-nompi.eb | 32 +++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Golden_Repo/s/SuiteSparse/SuiteSparse-5.13.0-gcccoremkl-11.3.0-2022.1.0-nompi.eb

diff --git a/Golden_Repo/s/SuiteSparse/SuiteSparse-5.13.0-gcccoremkl-11.3.0-2022.1.0-nompi.eb b/Golden_Repo/s/SuiteSparse/SuiteSparse-5.13.0-gcccoremkl-11.3.0-2022.1.0-nompi.eb
new file mode 100644
index 000000000..6e5371497
--- /dev/null
+++ b/Golden_Repo/s/SuiteSparse/SuiteSparse-5.13.0-gcccoremkl-11.3.0-2022.1.0-nompi.eb
@@ -0,0 +1,32 @@
+name = 'SuiteSparse'
+version = '5.13.0'
+versionsuffix = '-nompi'
+
+homepage = 'https://faculty.cse.tamu.edu/davis/suitesparse.html'
+description = """SuiteSparse is a collection of libraries manipulate sparse matrices."""
+
+toolchain = {'name': 'gcccoremkl', 'version': '11.3.0-2022.1.0'}
+toolchainopts = {'unroll': True, 'pic': True}
+
+source_urls = ['https://github.com/DrTimothyAldenDavis/SuiteSparse/archive']
+sources = ['v%(version)s.tar.gz']
+checksums = ['59c6ca2959623f0c69226cf9afb9a018d12a37fab3a8869db5f6d7f83b6b147d']
+
+builddependencies = [
+    ('binutils', '2.38'),
+    ('CMake', '3.23.1'),
+    ('M4', '1.4.19'),
+]
+
+dependencies = [
+    ('METIS', '5.1.0', '-IDX64'),   
+    ('CUDA', '11.7', '', SYSTEM),
+    ('MPFR', '4.1.0'),
+]
+
+# make sure that bin/demo can find libsuitesparseconfig.so.5 during build
+prebuildopts = "export LD_LIBRARY_PATH=%(builddir)s/SuiteSparse-%(version)s/lib:$LD_LIBRARY_PATH && "
+# remove broken symlink
+prebuildopts += "rm GraphBLAS/CUDA/test/graphblascuda_test && "
+
+moduleclass = 'numlib'
-- 
GitLab