[AIX][CMake] Disable openmp as LLVM_ENABLE_PROJECTS (#110152)
in favor of LLVM_ENABLE_RUNTIMES
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user