<div dir="ltr">On 28 January 2013 19:17, Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank">gribozavr@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">does a build in 9min.  With ccache (nothing fancy -- apt-get install</span><br>
</div>
ccache, set CC/CXX variables), time drops to 1:50--3:00 min on<br>
average.<br></blockquote><div><br></div><div style>Depending on the hardware (development boards tend to be very sensitive and the kernel very raw), things that you take for granted are not that simple.</div><div style><br>
</div><div style>For example, ccache raised some I/O problems on some ARM dev boards, and since we're always dealing with fresh hardware (sometimes pre-release), a multitude of things will fail even before you get to LLVM.<br>
</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Also, you don't need to do a 2-step bootstrap to catch warnings from<br>

gcc.  You also don't need a debug build, just an optimized one --<br>
since it is faster to link</blockquote><div><br></div><div style>Yes, this does make a big difference. Keep the assertions, leave the debug symbols out. I believe this is the default CMake build type, but not the configure one, so be careful.</div>
<div style><br></div><div style>Also, I got different failures with CMake and configure, so try both. Again, development kernels/hardware, so not worthy reporting to the list just yet.</div><div style><br></div><div style>
cheers,</div><div style>--renato </div></div></div></div>