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

Chris Larson clarson at kergoth.com
Mon May 14 17:35:42 UTC 2012


On Mon, May 14, 2012 at 10:18 AM, Marko Lindqvist <cazfi74 at gmail.com> wrote:
>> 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)

Whether you like or don't like ccache is irrelevant. I personally
don't use it, but regardless, obviously CCACHE_DIR doesn't belong in
the shared state checksums, and CCACHE is the var you use to opt in vs
out of ccache usage.
-- 
Christopher Larson




More information about the Openembedded-core mailing list