[AIX][CMake] Disable openmp as LLVM_ENABLE_PROJECTS (#110152)

in favor of LLVM_ENABLE_RUNTIMES
This commit is contained in:
Daniel Chen 2024-10-15 22:34:49 -04:00 committed by GitHub
parent 6d13cc9411
commit bb89988174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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