[distcc] Do not allow localhost compile

Martin Pool mbp at sourcefrog.net
Tue May 31 23:37:17 GMT 2005


On Tue, 2005-05-31 at 09:55 -0700, Avuton Olrich wrote:
> Hello,
> 
> I've grazed all FAQ and documents and couldn't find my answer so I
> depend on your great knowledge:
> 
> I have a really slow machine and two faster ones, I am compiling on
> the slow machine and I would rather it be idle than compiled on. I do
> not have it in the get hosts but I do see a few cc1plus in the top
> output and 0% idle. Here's the simple question: Is localhost added by
> default?

No, it's not used by default.  However, there can be some jobs that
can't be distributed and distcc will run those locally, because the only
other alternative would be to not compile them at all.

In this situation you might try running with about -j8 so that there is
plenty of room to run things remotely.  But for C++ that might  causes
your slow machine to run out of memory, so you might not be able to go
that high.

-- 
Martin




More information about the distcc mailing list