[distcc] ccache & distcc

Martin Pool martinpool at gmail.com
Thu Sep 16 03:30:06 GMT 2004


On Mon, 6 Sep 2004 11:10:27 +0200, Perochon Sebastien
<sebastien.perochon at mmarelli-se.com> wrote:

> I have compile my library with ccache (without distcc).
> Then, to test it, I have clean my directory then re-compile the library. It
> is working very well.
> So, I decide to add distcc in the chain.
> I set "CCACHE_PREFIX=distcc", then I clean again my directory and re-compile
> the library...
> But ccache doesn't use the already cached files and recompile them again.
> Setting "CCACHE_PREFIX" with distcc seems to make differents files for
> ccache...

Adding a compiler prefix command changes the hash; things compiled
without distcc are not considered the same as things compiled with it.
 See the ccache source.

-- 
Martin



More information about the distcc mailing list