<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 20, 2019 at 4:21 PM Jie Zhou via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">



<div style="word-wrap:break-word;line-break:after-white-space">
Dear all,
<div><br>
</div>
<div>I’m developing Clang&LLVM on MacOS Catalina 10.15.</div>
<div>Now every time I "<font face="Arial">make clang"</font>, the building systems rebuilds</div>
<div>all the .inc files generated by cmake,</div></div></blockquote><div><br></div><div>Are you saying that if you re-run `make clang` immediately after the first invocation complete you see these files rebuilt? You're not changing anything in the repo or running `git pull` (or equivalent)? This would really not be expected.</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div> which essentially</div>
<div>rebuilds all the tablegen files in llvm, although I did not</div>
<div>change any of the tablegen files. The building is unnecessary</div>
<div>and slow, especially when it builds the X86GenSubtargetInfo.inc.</div>
<div>Is there a way to prevent cmake generating Makefiles that</div>
<div>rebuilds all the tablegen files?</div>
<div><br>
</div>
<div>Here is my command line to run cmake for generating Makefiles:</div>
<div><br>
</div>
<div>cmake -G “Unix Makefiles” -DLLVM_TARGETS_TO_BUILD=“X86" -DCMAKE_BUILD_TYPE=Debug $(LLVM_SRC)</div>
<div><br>
</div>
<div>The cmake version is 3.13.4. And I did not experience the same behavior on a Linux.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jie</div>
</div>

_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div>