[OE-core] [PATCH] ccache: Separate out into its own class
Richard Purdie
richard.purdie at linuxfoundation.org
Wed May 30 09:33:00 UTC 2012
On Tue, 2012-05-29 at 15:40 +0200, Enrico Scholz wrote:
> Richard Purdie
> <richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r at public.gmane.org>
> writes:
>
> > Currently, ccache is used if it is present. When building from scratch
> > it gives no performance improvement
>
> Here, I have a 10% cache hit ratio in a scratch build:
>
> cache hit (direct) 2841
> cache hit (preprocessed) 1370
> cache miss 39957
> called for link 3369
> called for preprocessing 3207
> multiple source files 8
> compile failed 2531
> preprocessor error 432
> couldn't find the compiler 111
> bad compiler arguments 468
> unsupported source language 532
> autoconf compile/link 6613
> unsupported compiler option 132
> no input file 2919
> files in cache 94205
> cache size 2.0 Gbytes
> max cache size 3.0 Gbytes
>
That's good data, thanks for sharing it. In any measurement I've made,
it doesn't seem to help the wall time for the build though :(
We're not removing the ability to use ccache, just changing the way its
enabled which all things considered I still think is a good move...
Cheers,
Richard
More information about the Openembedded-core
mailing list