mgorny wrote: I'm sorry for the complexity. I've finally gotten around to figuring it out, and it turns out it's a problem with CMake files: #79305 fixes it for me. https://github.com/llvm/llvm-project/pull/70996