[CI] Turn off ClangIR in the BYO LLVM build (#25222) llvm/llvm-project#221291 made ClangIR part of the default clang build. Integrated via #25119. ClangIR auto-enables MLIR as a dependency, and this build must not contain MLIR because build_mlir builds it separately against this install. Currently BOY LLVM build fails with: CMake Error: install(EXPORT "ClangDevelopmentTargets" ...) includes target "clangFrontendTool" which requires target "MLIRIR" that is not in any export set. This has broken the scheduled linux_x64_clang_byollvm job since the 2026-10-26 run. Signed-off-by: Tobias Fuchs <fuchs@roofline.ai> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
diff --git a/build_tools/llvm/llvm_config.cmake b/build_tools/llvm/llvm_config.cmake index d2083a8..353eae9 100644 --- a/build_tools/llvm/llvm_config.cmake +++ b/build_tools/llvm/llvm_config.cmake
@@ -1,6 +1,10 @@ ### Components built ### set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra;lld" CACHE STRING "") +# ClangIR is on by default since llvm/llvm-project#221291 and pulls MLIR into +# this build. MLIR is built separately against this install (see byo_llvm.sh +# build_mlir), so keep ClangIR off. +set(CLANG_ENABLE_CIR OFF CACHE BOOL "") ### Target architectures ###