[distcc] ccache & distcc

Perochon Sebastien Sebastien.Perochon at mmarelli-se.com
Thu Sep 16 07:18:27 GMT 2004


  Hi Martin,

Thanks for all your answers.
Is there a way to tell ccache to not take into account some part of the
command line into the hash like for example Scons do:

($c:\$)cc ...

In this case, in Scons, the "c:\" path is not part of the hash.

Thanks,
Sebastien.

-----Message d'origine-----
De: Martin Pool [mailto:martinpool at gmail.com]
Date: jeudi 16 septembre 2004 05:30
À: Perochon Sebastien
Cc: distcc at samba.org
Objet: Re: [distcc] ccache & distcc


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