[clang] [clang] support `CLANG_ENABLE_CIR` in standalone builds (PR #237450)

Mehdi Amini via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 19 07:47:04 PST 2026


joker-eph wrote:

> Do you have some branches/PR for this? Then I could try to test that. I found https://github.com/llvm/llvm-project/pull/222399, but not sure if that already covers the "better dependency" part.

Yes this is my stack, however this was implemented assuming we don't have CMake 3.31, and during the review, it was pointed out that we were about to upgrade, so I put it on the back burner until the upgrade is done. 

By the way, we finally, yesterday, unblocked the upgrade, so it should be done today or tomorrow, I think.  

>> Depending on the *IncGen isn' intended though: they should be "private" to a dialect ideally.
> @joker-eph, could you tell me how you intend for this to work when MLIR* and MLIRCIR* targets are built through completely different build invocations?

I need to investigate, I don't have just an answer ready: CMake infra is something I page out every time I work on it, which means I always need to page in again all the informations :(  

https://github.com/llvm/llvm-project/pull/237450


More information about the cfe-commits mailing list