On Wed, Jun 11, 2008 at 11:41 PM, Sascha Demetrio <[EMAIL PROTECTED]> wrote:

> The PCH patch I made is (as I see it) incompatible with the DistCC3 pump
> mode - it requires a local preprocessor run to locate the PCH file.


Ah.


> The
> proxy-file-mode (create a local dummy include for the PCH in case client
> and server run incompatble GCC binaries) seams a bit odd if we have pump
> mode, which eliminates the local preprocessor run completely.
>
> A better approach (IMHO):
> 1. Add hash based file caching for _all_ files (similar to the way it's
> done in my PCH patch)
> 2. Pump the PCH file together with the source code - the prescan code
> could easily be extended to include PCH files if present.


Sounds like a good plan.

The hash based file caching should be optional, so that we can measure its
effect.

Cheers,
  Fergus.

-- 
Fergus Henderson <[EMAIL PROTECTED]>
__ 
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options: 
https://lists.samba.org/mailman/listinfo/distcc

Reply via email to