<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear all,
<div class=""><br class="">
</div>
<div class="">I’m developing Clang&LLVM on MacOS Catalina 10.15.</div>
<div class="">Now every time I "<font face="Arial" class="">make clang"</font>, the building systems rebuilds</div>
<div class="">all the .inc files generated by cmake, which essentially</div>
<div class="">rebuilds all the tablegen files in llvm, although I did not</div>
<div class="">change any of the tablegen files. The building is unnecessary</div>
<div class="">and slow, especially when it builds the X86GenSubtargetInfo.inc.</div>
<div class="">Is there a way to prevent cmake generating Makefiles that</div>
<div class="">rebuilds all the tablegen files?</div>
<div class=""><br class="">
</div>
<div class="">Here is my command line to run cmake for generating Makefiles:</div>
<div class=""><br class="">
</div>
<div class="">cmake -G “Unix Makefiles” -DLLVM_TARGETS_TO_BUILD=“X86" -DCMAKE_BUILD_TYPE=Debug $(LLVM_SRC)</div>
<div class=""><br class="">
</div>
<div class="">The cmake version is 3.13.4. And I did not experience the same behavior on a Linux.</div>
<div class=""><br class="">
</div>
<div class="">Thanks,</div>
<div class="">- Jie</div>
</body>
</html>