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

2012-05-14 Thread Jason Wessel
On 05/14/2012 05:00 PM, Marko Lindqvist wrote: > As you can see from my answer to last part I quote, I'm not against > your patch, so don't read first parts of this email with that mindset. > They are more generic discussion about ccache caches. No worries. > > On 14 May 2012 23:58, Jason Wesse

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

2012-05-14 Thread Marko Lindqvist
As you can see from my answer to last part I quote, I'm not against your patch, so don't read first parts of this email with that mindset. They are more generic discussion about ccache caches. On 14 May 2012 23:58, Jason Wessel wrote: > > This is only an issue if the compiler has changed.  In my

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

2012-05-14 Thread Jason Wessel
On 05/14/2012 12:18 PM, Marko Lindqvist wrote: > On 14 May 2012 19:09, Jason Wessel wrote: >> The end user of oe-core should be free to turn off ccache, or use an >> external ccache without impacting the sstate sums. > > ... > > External cache makes sense for anything being built by system > c

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

2012-05-14 Thread Chris Larson
On Mon, May 14, 2012 at 10:18 AM, Marko Lindqvist 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 p

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

2012-05-14 Thread Marko Lindqvist
On 14 May 2012 19:09, Jason Wessel 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 buil

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

2012-05-14 Thread Jason Wessel
On 05/14/2012 11:09 AM, Jason Wessel wrote: > The end user of oe-core should be free to turn off ccache, or use an > external ccache without impacting the sstate sums. > > Example of using a different ccache directory via local.conf > > CCACHE_DIR = "/tmp/ccache" > > Example of turning off ccach

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

2012-05-14 Thread Jason Wessel
The end user of oe-core should be free to turn off ccache, or use an external ccache without impacting the sstate sums. Example of using a different ccache directory via local.conf CCACHE_DIR = "/tmp/ccache" Example of turning off ccache: export CCACHE_DISABLE = "1" BB_HASHBASE_WHITELIST += "CC