<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 19, 2016, at 10:17 PM, Gopalasubramanian, Ganesh via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">Hi!<o:p class=""></o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">For one of my cross compilation requirements I need to build tablegen alone for the host platform. Is there any way to configure the make system to build only the tablegen?</div></div></div></blockquote><div><br class=""></div><div>I believe we support cross-compiling with CMake: passing -DCMAKE_CROSSCOMPILING=ON will trigger automatically that llvm-tblgen will be first build for the host in a subdirectory, before starting the build for the target using the just-built tablegen.</div><div><br class=""></div><div>See also: <a href="http://llvm.org/docs/HowToCrossCompileLLVM.html" class="">http://llvm.org/docs/HowToCrossCompileLLVM.html</a></div><div><br class=""></div><div><br class=""></div><div>— </div><div>Mehdi</div><div><br class=""></div></div></body></html>