Re: Is xcodebuild multi-processor aware?
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