rossburton wrote: Just marked as a draft as I'm thinking there _might_ be an case where you want to both use an existing tblgen _and_ build a new one: in complex multi-stage cross-compilation builds of clang. I'm not sure if this is overcomplicating things, or a realistic need.
Either way, I expect extending the check to be `if CLANG_TABLEGEN_EXE and not CMAKE_CROSS_COMPILING` would be sufficient? https://github.com/llvm/llvm-project/pull/161952 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
