llvm17/openmp-dont-run-gpu-arch.patch
Aaron Puchert cb9cd7e85c - Apply clang-shlib-symbol-versioning.patch to add symbol versions
to libclang-cpp.so similar to libLLVM.so. This is required when
  multiple versions of the library are loaded into the same
  process. (boo#1219405, boo#1221183, boo#1233220)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=38
2024-11-17 14:25:02 +00:00

19 lines
587 B
Diff

--- openmp-17.0.0rc1.src/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
+++ openmp-17.0.0rc1.src/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
@@ -104,6 +104,8 @@
find_package(CUDAToolkit QUIET)
set(LIBOMPTARGET_DEP_CUDA_FOUND ${CUDAToolkit_FOUND})
+if(FALSE)
+
################################################################################
# Looking for NVIDIA GPUs...
################################################################################
@@ -151,4 +153,6 @@
endif()
endif()
+endif()
+
set(OPENMP_PTHREAD_LIB ${LLVM_PTHREAD_LIB})