[Mlir-commits] [clang] [flang] [lld] [llvm] [mlir] [RFC] Use pre-compiled headers to speed up LLVM build (~1.5-2x) (PR #173868)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Jan 16 08:47:49 PST 2026


sharkautarch wrote:

@aengelke one issue I’ve noticed w/ this PR: currently, when building llvm w/ rtti on and also building Polly, Polly fails to compile
This is because Polly’s CMakeLists.txt adds "-fno-rtti" to the cxx flags, apparently so that it’s compatible w/ llvm shared libs built w/o rtti
See this 14 year old commit from 2011: https://github.com/llvm/llvm-project/commit/080307119ee5a6114686293dce2aa711f59bf6dc

You should probably somehow just edit your pr to exclude the use of pch stuffs for polly

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


More information about the Mlir-commits mailing list