[LLVMdev] Quad-Core ARMv7 Build Slave Seeks Noble Purpose

Mikael Lyngvig
Thu, 14 Nov 2013 04:55:36 -0000

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.

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.

-- Mikael


2013/11/14 Dmitri Gribenko <gribozavr at gmail.com>

> On Wed, Nov 13, 2013 at 6:36 PM, Mikael Lyngvig <mikael at
lyngvig.org>
> wrote:
> > A quick question while I am adding a tiny section on ccache to the
> > HowToAddABuilder document: Why do you set CCACHE_CPP2 to yes?  From
> reading
> > the manual, I get the impression that this is much slower than the
> default
> > and that it should only be used with tricky compilers or when
debugging.
>  Is
> > Clang such a tricky compiler?  If so, I suppose Clang should be fixed,
> not
> > the ccache configuration.
>
> I don't remember exactly why I used this option, but it seems like I
> was getting diagnostics from system headers, that would otherwise be
> suppressed, because the header was found in a system include
> directory.
>
> Dmitri
>
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at
gmail.com>*/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20131114/808db476/attachment.html>