Re: Building more files than CPUs
Re: Building more files than CPUs
- Subject: Re: Building more files than CPUs
- From: Chris Espinosa <email@hidden>
- Date: Thu, 9 Feb 2006 09:20:13 -0800
On Feb 9, 2006, at 9:05 AM, Brad Oliver wrote: When I build with Xcode on my main G5, I have 6 PPC CPUs available around the house. Xcode will use those, and it will build *8* files at a time. When I build on the Intel iMac, it will usually build 2 files at a time (no other Intel Macs around). However, the other day it was building *6* files at a time.
Are you building universal binaries? Just a hunch - maybe it's distributing 6 files to the PPCs (for ppc compilation) and 2 more to the x86 (for x86 compilation). On your Intel box, perhaps it is building 6 PPC files (all on the PPCs you have) and no x86. The best way to check might be to watch the commandline output in xcode and see - it's hard to guess without more info.
No, it doesn't do this. Distributed compilation is currently limited to CPUs of the same architecture as the distribution host.
Try (from the command line) defaults read com.apple.Xcode PBXNumberOfParallelBuildSubtasks This should be unset, and the default is "number of CPUs in my machine." If it's set to, say, 8, then there's your answer.
Chris |
_______________________________________________
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