mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 18:26:37 +00:00
[AIX][CMake] Disable openmp
as LLVM_ENABLE_PROJECTS (#110152)
in favor of LLVM_ENABLE_RUNTIMES
This commit is contained in:
parent
6d13cc9411
commit
bb89988174
@ -117,6 +117,12 @@ 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)
|
||||
set(LLVM_EXTRA_PROJECTS "flang")
|
||||
# List of all known projects in the mono repo
|
||||
|
Loading…
x
Reference in New Issue
Block a user