<div dir="ltr">I ran into the very same problem, so it is definitely required.  I'll add it to the proposed change to the LLVM buildbot documentation.<div><br></div><div>LOL, a full build with an empty ccache cache took 36 minutes.  A full build with all the files in ccache's cache took about eleven and a half minute, most of it spent linking.</div>
<div><br></div><div>-- Mikael</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/14 Dmitri Gribenko <span dir="ltr"><<a href="mailto:gribozavr@gmail.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=gribozavr@gmail.com&cc=&bcc=&su=&body=','_blank');return false;">gribozavr@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Nov 13, 2013 at 6:36 PM, Mikael Lyngvig <<a href="mailto:mikael@lyngvig.org" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=mikael@lyngvig.org&cc=&bcc=&su=&body=','_blank');return false;">mikael@lyngvig.org</a>> wrote:<br>

> A quick question while I am adding a tiny section on ccache to the<br>
> HowToAddABuilder document: Why do you set CCACHE_CPP2 to yes?  From reading<br>
> the manual, I get the impression that this is much slower than the default<br>
> and that it should only be used with tricky compilers or when debugging.  Is<br>
> Clang such a tricky compiler?  If so, I suppose Clang should be fixed, not<br>
> the ccache configuration.<br>
<br>
I don't remember exactly why I used this option, but it seems like I<br>
was getting diagnostics from system headers, that would otherwise be<br>
suppressed, because the header was found in a system include<br>
directory.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dmitri<br>
<br>
--<br>
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if<br>
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <<a href="mailto:gribozavr@gmail.com" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=gribozavr@gmail.com&cc=&bcc=&su=&body=','_blank');return false;">gribozavr@gmail.com</a>>*/<br>

</font></span></blockquote></div><br></div></div>