[libclc] [llvm] [libclc] Support LLVM_ENABLE_RUNTIMES when building (PR #141574)
Fraser Cormack via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 07:07:18 PDT 2025
================
@@ -72,7 +72,7 @@ else()
# Note that we check this later (for both build types) but we can provide a
# more useful error message when built in-tree. We assume that LLVM tools are
# always available so don't warn here.
- if( NOT clang IN_LIST LLVM_ENABLE_PROJECTS )
+ if( NOT LLVM_RUNTIMES_BUILD AND NOT clang IN_LIST LLVM_ENABLE_PROJECTS )
----------------
frasercrmck wrote:
Thanks. Yes I suppose in the absence of a higher-level warning like you describe, we could probably use `USE_TOOLCHAIN` to accomplish the same thing in a runtimes build.
With any luck this is all temporary, and a runtimes build will allow us to just take the cmake c compiler.
https://github.com/llvm/llvm-project/pull/141574
More information about the llvm-commits
mailing list