Re: Distributed build problems - unknown compiler error and not building locally...
Re: Distributed build problems - unknown compiler error and not building locally...
- Subject: Re: Distributed build problems - unknown compiler error and not building locally...
- From: Dave Thorup <email@hidden>
- Date: Fri, 31 Aug 2007 18:12:58 -0500
On Aug 31, 2007, at 8:26 AM, Ken Worley wrote:
On Aug 30, 2007, at 7:08 PM, Dave Thorup wrote: Now, for my second problem, when doing distributed builds only the remote machine is being sent files to compile, my local machine isn't compiling anything. This is verified by checking the DISTCC_HOSTS variable in the Xcode build log. If I turn off distributed builds on the remote machine then it will use the local machine to compile, but that seems to be the only way I can get compiles working on the local machine. The remote machine is a Core Duo iMac while the local Machine is a Quad Mac Pro, so naturally I'd like to be utilizing the local machine as well.
From what I understand, this "problem" is actually by design. It's a real pain too if you happen to be working on the fastest machine available for building. I hope this will change in later versions. I haven't tried 2.5 yet.
Except that this isn't how distributed builds used to work the last time I used them (possibly with Xcode 2.3?). Previously the local machine was also used for building. Does anyone know when this changed and is there a way to revert to the old behavior. Its a shame that my 3.0 GHz Quad Mac Pro is basically running idle when using distributed builds. Another oddity is that 4 compiles are being done remotely on the iMac. My previous experience has been that each machine (remote or local) will only do as many compiles at once as it has CPUs, so I'd expect only 2 compiles to be done on the iMac. Perhaps this changed with the last Xcode update?
The same happens for me, but I had thought this was intended when build priority on that machine was set to high. Not sure though.
That's interesting. Before it used to just do 1 compile per CPU, regardless of what the priority was. Anyway, I just got our 8-core Mac Pro online and now it's doing 14 compiles: 2-core iMac + 8-core Mac Pro = 14 compiles. Go figure. -- Dave Thorup Software Engineer
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden