• 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: Is xcodebuild multi-processor aware?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is xcodebuild multi-processor aware?


  • Subject: Re: Is xcodebuild multi-processor aware?
  • From: Syd Polk <email@hidden>
  • Date: Sat, 2 Sep 2006 01:12:12 -0500


On Sep 2, 2006, at 12:57 AM, Jim Wintermyre wrote:

At 10:20 PM -0500 9/1/06, Syd Polk wrote:
On Sep 1, 2006, at 9:32 PM, Jim Wintermyre wrote:

When invoking xcodebuild from the command line, does it distribute the build among the number of processors available on the machine just as it does when you build from the XCode UI? I would assume so, but just wanted to verify.

Thanks,
Jim

xcodebuild uses the same mechanism as the GUI. By default, it will use as many processors as it finds. If you override the preference in the GUI, xcodebuild respects it (as it uses the same preferences).

Thanks for the info. Regarding that preference, I think I must be losing it, but I can't find it anymore. It used to be under XCode Preferences/Building, but at least in XCode 2.4, I don't see that setting there anymore. Did it move somewhere else or is it just gone? Not that I ever have occasion to change it...



Hmm. I was mistaken; the setting does not appear to be in the GUI. However, from the Expert Preferences (available from the Help menu):


PBXNumberOfParallelBuildSubtasks
The desired number of parallel tasks used by the build system when building a project. Unset (or set to 0), the build system will default to using the “best” number of parallel tasks, equal to the number of processors on the machine. There is no default setting.


Syd Polk
email@hidden
"Let the music be your light" - Dave Edwards, KUHF-FM, 1982


_______________________________________________ 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
References: 
 >Is xcodebuild multi-processor aware? (From: Jim Wintermyre <email@hidden>)
 >Re: Is xcodebuild multi-processor aware? (From: Syd Polk <email@hidden>)
 >Re: Is xcodebuild multi-processor aware? (From: Jim Wintermyre <email@hidden>)

  • Prev by Date: Re: Is xcodebuild multi-processor aware?
  • Next by Date: XCode doesn't respect Unix lock when opening subproject
  • Previous by thread: Re: Is xcodebuild multi-processor aware?
  • Next by thread: XCode doesn't respect Unix lock when opening subproject
  • Index(es):
    • Date
    • Thread