On 05/14/2012 04:33 PM, Khem Raj wrote:
> On Sun, May 13, 2012 at 7:28 PM, Jason Wessel
> <jason.wes...@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,
> hmmm so how do you ensure that both ccache stashes are exactly same ?

Why do they need to be the same?  

The end result of the compiler is the same with ccache, and that is all that 
matters in this case, meaning you get the same .o with "ccache gcc".  I might 
have several ccache directories with different sizes on different systems (it 
takes ~3.4 gigs for a full ccache).

CCACHE_DIR=/tmp/place1 ccache target-gcc ....
CCACHE_DIR=/tmp/place2 ccache target-gcc ....

Regardless of the state of the CCACHE_DIR the .o will be the same.

Jason.

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to