[OE-core] [PATCH 0/2] bitbake.conf: gracefully work with ccache environment variables

Marko Lindqvist cazfi74 at gmail.com
Mon May 14 17:18:21 UTC 2012


On 14 May 2012 19:09, Jason Wessel <jason.wessel at windriver.com> wrote:
> The end user of oe-core should be free to turn off ccache, or use an
> external ccache without impacting the sstate sums.

 ...

> I'll send a patch just to add CCACHE_DIR to the BB_HASHBASE_WHITELIST.

 External cache makes sense for anything being built by system
compiler. Caching results of anything produced by OE-built compilers
to user's normal cache is problematic. Rebuild of the compiler itself
will invalidate any such cached files, but caching them in first place
may push more valid results out from the cache. So you are proposing
that user has to opt-out from that behavior (by unsetting his normal
CCACHE_DIR before running bitbake) and no longer opt-in (by adding
CCACHE_DIR to whitelist)


 - ML




More information about the Openembedded-core mailing list