This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: distributed compilation with gcc: distcc
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Martin Pool <mbp at samba dot org>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: 22 Jul 2002 16:46:16 -0400
- Subject: Re: distributed compilation with gcc: distcc
- References: <20020722085822.GG6023@samba.org> <m3fzybqz7j.fsf@flamingo.sfbay.redhat.com>
On Mon, 2002-07-22 at 16:34, Aldy Hernandez wrote:
> What ends up happening is that a "make -jxx", will cause the first
> stage to be built distributed, and the rest of the build (since it's
> using the new compiler and distcc knows nothing about it) will end up
> thrashing on the parent build host.
>
When distributing the build, it would also be interesting if the partial
builds can be done on local filesystems. Even if you distribute the
build itself, hammering on a shared fileserver will slow you down
significantly.
Of course, I have not thought about this in detail. I'm not even sure
if it's realistic to think about building stages 1-3 in separate file
systems.
Another thing to think about: do you need the build machines to have the
exact same set of include and library files?
Diego.