================ @@ -190,6 +190,12 @@ if(CLANG_ENABLE_LIBXML2) endif() endif() +# Standalone builds don't inherit this flag from the llvm/CMakeLists, so set it +# here. +if(CLANG_BUILT_STANDALONE) + option(CLANG_ENABLE_CIR "Build ClangIR support into the compiler" OFF) +endif() ---------------- h-vetinari wrote:
> because we pick up 'custom' parts of MLIR how custom? Do they still get built by default if building standalone mlir (on top of llvm from the same commit)? In our distribution, we need to partition components, and so things get built incrementally (~= standalone). I can provide feedback what's working and what isn't w.r.t. CIR integration, but I wanted to check in first if it even makes sense to try... https://github.com/llvm/llvm-project/pull/221291 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
