How-to respect NOCCACHE?

Joe Marcus Clarke marcus at marcuscom.com
Tue Jul 18 16:29:11 EDT 2006


On Tue, 2006-07-18 at 22:16 +0200, Thierry Thomas wrote:
> Le Mar 18 jul 06 à 20:09:54 +0200, Joe Marcus Clarke <marcus at marcuscom.com>
>  écrivait :
> > > I'm working on a port which is not supported by ccache. I have set
> > > NOCCACHE=yes, but when building in my tinderbox I have to disable ccache
> > > manually (./tc configCcache -d).
> > 
> > Where did you set this?  In the port's Makefile?
> 
> Yes, I'd like to deactivate it from the port's Makefile.
> 
> > > Is it possible to enable / disable ccache automatically according to
> > > NOCCACHE (or another variable)?
> > 
> > Try setting CCACHE_DISABLE=yes instead.  Note: this cannot be done
> > within TB currently since portbuild unsets this variable.  But it should
> > be doable if set in the port's Makefile.
> 
> It does'nt work either: I can see that ccache is active (e.g. the
> counters in ccache/my_build/stats are incremented), and my build fails.

You would need to set it in MAKE_ENV or something similar for it to have
an effect.  With what port are you doing this?

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20060718/7e7a95bf/attachment.bin 


More information about the tinderbox-list mailing list