[Mlir-commits] [clang] [flang] [llvm] [mlir] [polly] [CMake][LLVM] Add PCH infrastructure and LLVMSupport PCH (PR #176420)

Maksim Levental llvmlistbot at llvm.org
Fri Jan 16 17:41:58 PST 2026


makslevental wrote:

> @aengelke how do we enable PCH? Is there some standard cmake flag or an llvm-specific one? Could you include this in the PR description?

My understanding is if PCHs are available for a target then they will be used *unless `DISABLE_PRECOMPILE_HEADERS=ON`* is set on the target (or `CMAKE_DISABLE_PRECOMPILE_HEADERS=ON` is set globally).

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


More information about the Mlir-commits mailing list