-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[AIX][CMake] Disable openmp
as LLVM_ENABLE_PROJECTS
#110152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-openmp Author: Daniel Chen (DanielCChen) Changes… Full diff: https://github.com/llvm/llvm-project/pull/110152.diff 1 Files Affected:
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
|
list(REMOVE_ITEM LLVM_ALL_PROJECTS openmp) | ||
endif() | ||
|
||
# The flang project is not yet part of "all" projects (see C++ requirements) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this is a dup. I think this is a duplicate/copy-paste error:
# The flang project is not yet part of "all" projects (see C++ requirements) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. The dup line is removed.
openmp
as LLVM_ENABLE_PROJECTS in favor of LLVM_ENABLE_RUNTIMES on AIX.openmp
as LLVM_ENABLE_PROJECTS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor nit
What is the reason? Usually |
0b58328
to
d3bfeda
Compare
On AIX, building |
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/7121 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/151/builds/2794 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/17/builds/3320 Here is the relevant piece of the build log for the reference
|
in favor of LLVM_ENABLE_RUNTIMES
in favor of LLVM_ENABLE_RUNTIMES