mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
[CMake] Weaken 176db3b3ab
That commit (D132324) made putting libc++ in LLVM_ENABLE_RUNTIMES a hard error, but ther are some out-of-tree CI jobs (especially docs that need fixing). I am thus making it a "soft error" for now, until that is resolved.
This commit is contained in:
parent
53c0be28a7
commit
952f90b72b
@ -123,7 +123,9 @@ foreach(proj ${LLVM_ENABLE_PROJECTS})
|
|||||||
endforeach()
|
endforeach()
|
||||||
foreach(proj "libcxx" "libcxxabi" "libunwind")
|
foreach(proj "libcxx" "libcxxabi" "libunwind")
|
||||||
if (${proj} IN_LIST LLVM_ENABLE_PROJECTS)
|
if (${proj} IN_LIST LLVM_ENABLE_PROJECTS)
|
||||||
message(FATAL_ERROR
|
# TODO(Ericson2314): Making non-fatal for now because of out-of-tree docs
|
||||||
|
# CI jobs use this.
|
||||||
|
message(SEND_ERROR
|
||||||
"Using LLVM_ENABLE_PROJECTS=${proj} is incorrect. Please use -DLLVM_ENABLE_RUNTIMES=${proj} or "
|
"Using LLVM_ENABLE_PROJECTS=${proj} is incorrect. Please use -DLLVM_ENABLE_RUNTIMES=${proj} or "
|
||||||
"see the instructions at https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.")
|
"see the instructions at https://libcxx.llvm.org/BuildingLibcxx.html for building the runtimes.")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user