mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 11:41:39 +00:00
Disable the install of libomp in sub arch Following 1977404d20ab29ff78a58d8c0f1f4c5e7aef6b16
This commit is contained in:
parent
ba5358deed
commit
bd88e28e5a
23
debian/patches/disable-openmp-per-target.diff
vendored
Normal file
23
debian/patches/disable-openmp-per-target.diff
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
Index: llvm-toolchain-snapshot_19~++20240229092005+22f5e30c1798/openmp/CMakeLists.txt
|
||||
===================================================================
|
||||
--- llvm-toolchain-snapshot_19~++20240229092005+22f5e30c1798.orig/openmp/CMakeLists.txt
|
||||
+++ llvm-toolchain-snapshot_19~++20240229092005+22f5e30c1798/openmp/CMakeLists.txt
|
||||
@@ -48,13 +48,13 @@ else()
|
||||
set(OPENMP_ENABLE_WERROR ${LLVM_ENABLE_WERROR})
|
||||
|
||||
# When building in tree we install the runtime according to the LLVM settings.
|
||||
- if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
|
||||
- set(OPENMP_INSTALL_LIBDIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE STRING
|
||||
- "Path where built openmp libraries should be installed.")
|
||||
- else()
|
||||
+# if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE)
|
||||
+# set(OPENMP_INSTALL_LIBDIR lib${LLVM_LIBDIR_SUFFIX}/${LLVM_DEFAULT_TARGET_TRIPLE} CACHE STRING
|
||||
+# "Path where built openmp libraries should be installed.")
|
||||
+# else()
|
||||
set(OPENMP_INSTALL_LIBDIR "lib${LLVM_LIBDIR_SUFFIX}" CACHE STRING
|
||||
"Path where built OpenMP libraries should be installed.")
|
||||
- endif()
|
||||
+# endif()
|
||||
|
||||
if (NOT MSVC)
|
||||
set(OPENMP_TEST_C_COMPILER ${LLVM_RUNTIME_OUTPUT_INTDIR}/clang)
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -148,3 +148,4 @@ libclang-major-version-only.diff
|
||||
D148945-revert.diff
|
||||
arm32-defaults.diff
|
||||
mips/D154390-pre-R6.diff
|
||||
disable-openmp-per-target.diff
|
||||
|
Loading…
Reference in New Issue
Block a user