Re: ccache and distcc-pump

Joel Rosdahl <[email protected]> Thu, 05 Aug 2010 21:45:55 +0200
Newsgroups gmane.comp.compilers.ccache,gmane.comp.compilers.distcc
Message-ID <[email protected]>
On 2010-08-05 00:24, Bernhard Bauer wrote:
> what is the current state of ccache together with distcc pump mode?
> I'd assume that direct mode cache hits would go nicely with pump mode,
> but for cache misses we would still need to run the preprocessor
> locally to calculate the hash for the manifest file, which would ruin
> the benefit of pump mode.

Yes, that's my current understanding too. Disclaimer: I have actually
never run distcc myself, only read some of the code.

> Is there any work under way / planned to improve that?

Not that I know of. I guess it could be possible to come up with some
solution where distcc tells ccache which header files it read when
compiling.

(Cc: the distcc list.)

-- Joel