Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37535670
en ru br
Репозитории ALT
S:5.10.1-alt2
5.1: 3.4.0-alt1
www.altlinux.org/Changes

Группа :: Науки/Математика
Пакет: libsuitesparse

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: libsuitesparse-alt-link-with-libatomic-on-mipsel.patch
Скачать


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
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin