[OE-core] [PATCH] ccache: Separate out into its own class

Richard Purdie richard.purdie at linuxfoundation.org
Tue May 29 12:48:31 UTC 2012


On Tue, 2012-05-29 at 07:36 -0500, Jason Wessel wrote:
> On 05/29/2012 07:29 AM, Richard Purdie wrote:
> > Currently, ccache is used if it is present. When building from scratch it gives
> > no performance improvement and creates a ton of empty directories even when its
> > not in use.
> >
> > This change moves ccache support to a bbclass file which the user can choose to
> > enable. This should make builds more determinstic and make it easier/clearer
> > to the end user when its being used and when it is not.
> 
> Are the sstate sums the same with and without the use of the new bbclass ccache?
> 
> It is not clear to me that this is or is not the case based on this single commit header.

There is a problem with the existing sstate checksums since CCACHE
itself is not being excluded, only CCACHE_DIR so you'd end up with
sstate built using ccache and sstate built without using cccache with
different checksums. This change unifies those to have matching sstate
checksums.

So with and without use of the class, the checksums should now be the
same.

Cheers,

Richard





More information about the Openembedded-core mailing list