<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Florian,<div class=""><br class=""></div><div class="">Ok, I ran this:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">cmake -S LLVM -DCMAKE_INSTALL_PREFIX=INSTALL -DLLVM_OPTIMIZED_TABLEGEN=On -G Xcode</span></div></div><div style="margin: 0px; font-size: 10px; line-height: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" class=""><br class=""></div><div class=""><div>Compiled it again from clean, and the situation is worse than before. Incremental builds take an incredible amount of time stuck in running Tablegen scripts for all targets. Now this happens both in Release and Debug configurations. Just before this, at least Release compiled fine, but that’s no longer the case. </div><div><br class=""></div><div>Any other suggestions?  What could actually cause this? </div><div><br class=""></div><div>Thanks</div><div>John</div><div> <br class=""><br class=""><br class=""><blockquote type="cite" class=""><div class="">On 29 Jun 2019, at 19:37, Florian Hahn <<a href="mailto:florian_hahn@apple.com" class="">florian_hahn@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class=""><blockquote type="cite" class="">On Jun 29, 2019, at 18:26, Joan Lluch via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class=""><br class="">Hi all,<br class=""><br class="">On LLVM version 7.0.1, incremental builds are very fast for both Release and Debug. I’m compiling with Xcode<br class=""><br class="">I recently downloaded LLVM 9.0 from the LLVM-mirror Github repository and found that Incremental "Debug” builds take a ridiculously long time due to Tablegen taking ages (literally more than 10 minutes) to generate files. This makes it totally unusable for debug purposes. However, incremental ‘Release’ builds only take a few seconds.<br class=""><br class="">Why is that?. Any suggestions?.<br class=""></blockquote><br class=""><br class=""><br class="">You could give setting LLVM_OPTIMIZED_TABLEGEN a try (<a href="https://llvm.org/docs/CMake.html" class="">https://llvm.org/docs/CMake.html</a>).<br class=""><br class="">Cheers,<br class="">Florian</div></div></blockquote></div><br class=""></div></body></html>