File: 0003-Disable-omp.patch

package info (click to toggle)
hipblas 6.4.3-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 17,920 kB
  • sloc: cpp: 208,774; f90: 49,800; python: 4,680; ansic: 1,142; sh: 831; makefile: 55; xml: 23
file content (23 lines) | stat: -rw-r--r-- 830 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Christian Bayle <bayle@debian.org>
Date: Fri, 3 Oct 2025 13:16:34 +0200
Subject: Disable omp

Forwarded: not-needed
---
 clients/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/clients/CMakeLists.txt b/clients/CMakeLists.txt
index f526cae..fb6a5eb 100644
--- a/clients/CMakeLists.txt
+++ b/clients/CMakeLists.txt
@@ -123,7 +123,8 @@ if( BUILD_CLIENTS_BENCHMARKS OR BUILD_CLIENTS_TESTS)
 
   # if it fails to find OpenMP compile and link flags in strange configurations it can just use non-parallel reference computation
   # if there is no omp.h to find the client compilation will fail and this should be obvious, used to be REQUIRED
-  find_package(OpenMP)
+# Disable OpenMP
+#  find_package(OpenMP)
 
   if (TARGET OpenMP::OpenMP_CXX)
     set( COMMON_LINK_LIBS "OpenMP::OpenMP_CXX")