[clang] [clang] support `CLANG_ENABLE_CIR` in standalone builds (PR #237450)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 12:52:37 PST 2026
erichkeane wrote:
> Thanks for the review. As mentioned, the `MLIRCIR*` targets should probably not simply be re-added (not that it's impossible, just not in line with the intention from [8792b52](https://github.com/llvm/llvm-project/commit/8792b526aeac0320cb76c626fa83bc6f0f1dfc2a) AFAICT). I need direction of how people want this to be solved though. My naïve view would be:
>
> > Perhaps the easiest solution there would be the introduction of a `mlircir-headers` target, that does the same kind of catch-all synchronization as `mlir-headers`, but correctly distinguishes between what's built in MLIR and what's built in clang.
My COMPLETELY uninformed opinion here is "that sounds reasonable".
https://github.com/llvm/llvm-project/pull/237450
More information about the cfe-commits
mailing list