[OE-core] [PATCH 0/2] RFC - CCACHE_DIR to not impact sstate

Chris Larson clarson at kergoth.com
Mon May 14 02:47:18 UTC 2012


On Sun, May 13, 2012 at 7:28 PM, Jason Wessel
<jason.wessel at windriver.com> wrote:
> I am not exactly sure how to fix this, so I thought I might ask in the
> form of a working patch.  The problem is that I want to use an
> external CCACHE_DIR on some build servers, but use the defaults on
> others.  Ultimately the sstate sums should be the same in either case,
> but they are not due to the way that bitbake tracks the "export"
> variables for inclusion i the sum dependencies.  My example test is to
> simply set CCACHE_DIR = "/tmp/ccache" in the local.conf and recompile
> the quilt-native package.
>
> I ended up adding another check to the dependency generator because
> simply trying to use "unexport" had undesired effects.  If there is a
> better or correct way of fixing this such that CCACHE_DIR will not
> impact the sstate sum, I would really like to know how to do this. :-)

Add it to BB_HASHBASE_WHITELIST next to other variables like TMPDIR,
FILE, and BBPATH.
-- 
Christopher Larson




More information about the Openembedded-core mailing list