<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Since tblgen need host compile to be done I've decided to do everything from scratch.<br><br><br></div><div>mkdir & cd in new build folder<br></div>
</div>cmake ../llvm -DCMAKE_INSTALL_PREFIX=/Users/asmirnov/llvm_cmake_host_installed -DCMAKE_BUILD_TYPE=Release<br></div>make<br></div>make install<br></div><br></div>The first time i've used autotools to configure and make clang for host.<br>
</div>Now i decided to use cmake.<br><br></div>Now i don't have clang-tblgen executable for some reason (it was while using autotools but i refused to use it due to previous attempt ld errors):<br>asmirnov@vmb:/Users/asmirnov/llvm_cmake_host_installed/bin$ find /Users/asmirnov/llvm_cmake_host_installed -name "*tblgen"<br>
/Users/asmirnov/llvm_cmake_host_installed/bin/llvm-tblgen<br><br></div>Is it okay? Why while using cmake clang-tblgen was not done.<br></div>There were no errors while cmake or make.<br><br></div>Regards, Anton.<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/29 Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="im">On 28 September 2013 22:07, Anton Smirnov <span dir="ltr"><<a href="mailto:dev@antonsmirnov.name" target="_blank">dev@antonsmirnov.name</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I've specified paths for tblgens for host system. Is it wrong?<br></div></div></div></blockquote>

<div><br></div></div><div>No, that's correct, but it looks like your build directory is not clean. CMake is not that smart, so complete removal and re-creation of the build dir could fix that.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>--renato</div>
</font></span></div></div></div>
</blockquote></div><br></div>