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

Dmitri Gribenko
Thu, 14 Nov 2013 02:48:57 -0000

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>*/