[llvm] Disable `openmp` as LLVM_ENABLE_PROJECTS in favor of LLVM_ENABLE_RUNTIMES on AIX. (PR #110152)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 11:11:40 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-openmp
Author: Daniel Chen (DanielCChen)
<details>
<summary>Changes</summary>
…
---
Full diff: https://github.com/llvm/llvm-project/pull/110152.diff
1 Files Affected:
- (modified) llvm/CMakeLists.txt (+7)
``````````diff
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 0044c38f566a78..27f4b0a8796274 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -117,6 +117,13 @@ endif()
# This allows an easy way of setting up a build directory for llvm and another
# one for llvm+clang+... using the same sources.
set(LLVM_ALL_PROJECTS "bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;lld;lldb;mlir;openmp;polly;pstl")
+if (${CMAKE_SYSTEM_NAME} MATCHES "AIX")
+ # Disallow 'openmp' as a LLVM PROJECT on AIX as the supported way is to use
+ # LLVM_ENABLE_RUNTIMES.
+ list(REMOVE_ITEM LLVM_ALL_PROJECTS openmp)
+endif()
+
+# The flang project is not yet part of "all" projects (see C++ requirements)
# The flang project is not yet part of "all" projects (see C++ requirements)
set(LLVM_EXTRA_PROJECTS "flang")
# List of all known projects in the mono repo
``````````
</details>
https://github.com/llvm/llvm-project/pull/110152
More information about the llvm-commits
mailing list