[llvm] [AIX][CMake] Disable `openmp` as LLVM_ENABLE_PROJECTS (PR #110152)
Daniel Chen via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 12:01:05 PDT 2024
================
@@ -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)
----------------
DanielCChen wrote:
Thanks for the review. The dup line is removed.
https://github.com/llvm/llvm-project/pull/110152
More information about the llvm-commits
mailing list