llvm18/openmp-dont-run-gpu-arch.patch
Aaron Puchert d908d9fcff - Update to version 18.1.8.
* Fix a regression from the 18.1.6 release, which could result in
    compiler crashes in the PPCMergeStringPool pass when compiling
    for PowerPC targets.
  * Fixes clang-format regressions (since 18.1.1) on breaking
    before a stream insertion operator (<<) when both operands are
    string literals.
  * Fixes a clang-format regression (since 17.0.6) on formatting
    goto labels in macro definitions.
- Rebase llvm-do-not-install-static-libraries.patch.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm18?expand=0&rev=17
2024-06-30 18:04:58 +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})