<div dir="ltr">The problem is specific to the buildbot slaves that always start from scratch.  Otherwise, I agree with your views.<div><br></div><div><br></div><div>-- Mikael</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/11/14 Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">IMO ccache is unnecessary if you use cmake+ninja.  They actually track header dependencies well, so as long as you don't clean your build directory, you'll have fast, correct incremental builds.  ccache won't save much in that situation because the preprocessed source will actually be different.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 13, 2013 at 9:12 PM, Mikael Lyngvig <span dir="ltr"><<a href="mailto:mikael@lyngvig.org" target="_blank">mikael@lyngvig.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>The patch basically tells that ccache is very usable for low-end Linux systems and briefly how to get going using ccache (one special option is needed, thanks to Dimitri Gribenko, for sharing this).  <br>


</div><div><br></div><div>On my ARMv7 a repeat clean build takes less than 1/3rd the time of the initial clean build.  So it is definitely something that the slow builders can benefit from.  A build time of 36 minutes was reduced to approximately 11.5 minutes.</div>


<div><br></div><div>I suspect it might better be put in the GettingStarted document, but I need feedback on this.</div><div><br></div><div>If anybody dislikes the idea of putting this patch in the LLVM documentation, then please think of the fact that LLVM benefits greatly from the builders doing their job as fast as at all possible.</div>

<span><font color="#888888">
<div><br></div><div><br></div><div>-- Mikael</div><div><br></div></font></span></div>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>