Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37569072
en ru br
ALT Linux repos
S:5.10.1-alt2

Group :: Sciences/Mathematics
RPM: libsuitesparse

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libsuitesparse-alt-link-with-libatomic-on-mipsel.patch
Download


From 1f81d448fe7e8663ba8bfacc59c6387ab5d8e2e2 Mon Sep 17 00:00:00 2001
From: "Ivan A. Melnikov" <iv@altlinux.org>
Date: Wed, 17 Mar 2021 12:50:09 +0400
Subject: [PATCH] Link with libatomic on mipsel
---
 GraphBLAS/CMakeLists.txt | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/GraphBLAS/CMakeLists.txt b/GraphBLAS/CMakeLists.txt
index 7eb999189..dd4cd90f6 100644
--- a/GraphBLAS/CMakeLists.txt
+++ b/GraphBLAS/CMakeLists.txt
@@ -341,6 +341,13 @@ endif ( )
 #     target_link_libraries ( graphblas PUBLIC ${BLAS_LIBRARIES} )
 # endif ( )
 
+if ( CMAKE_SYSTEM_PROCESSOR MATCHES "mips" )
+    target_link_libraries ( graphblas atomic )
+    if ( BUILD_GRB_STATIC_LIBRARY )
+        target_link_libraries ( graphblas_static atomic )
+    endif ( )
+endif ( )
+
 #-------------------------------------------------------------------------------
 # determine the default matrix format
 #-------------------------------------------------------------------------------
-- 
2.29.3
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin