• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distributed build problems - unknown compiler error and not building locally...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed build problems - unknown compiler error and not building locally...


  • Subject: Re: Distributed build problems - unknown compiler error and not building locally...
  • From: Bill Bumgarner <email@hidden>
  • Date: Sat, 1 Sep 2007 10:25:15 -0700

On Aug 31, 2007, at 4:12 PM, Dave Thorup wrote:
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.

distcc requires the source files to effectively be precompiled prior to compilation. This puts a huge amount of potential I/O load and a bit of CPU load on the local system. As a result, the # of local jobs was turned down so that the machine could distribute jobs more efficiently.


It sounds like it was turned down too much or a bug has come into play. Please file a bug capturing the symptoms and configuration.

In general, distcc scales poorly. Dedicated Network Builds is designed to scale much better, but it is quite thoroughly fragile in the production versions of Xcode.

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.

There are some defaults mentioned in the advanced preferences that can be used to adjust behavior. I don't remember if you can adjust the # of jobs launched locally, though.


b.bum
_______________________________________________
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


  • Prev by Date: Re: [OT} Packaging systems [was: Guidelines for talking about Xcode 2.5 on this list]
  • Next by Date: err = noErr; // Intel binary (only) crashes here
  • Previous by thread: Re: [OT} Packaging systems [was: Guidelines for talking about Xcode 2.5 on this list]
  • Next by thread: err = noErr; // Intel binary (only) crashes here
  • Index(es):
    • Date
    • Thread