On Sep 13, 2006, at 11:08 AM, Wain wrote: I have recently moved from XCode 2.3 to 2.4, I run it on a dual 1.8GHz G5, so I have 2 processors...
Compiling is much slower (maybe twice as long to compile) in XCode 2.4 as 2.3, I think it is now only using a single thread to perform the compilation. The archives are full of 'slow' but I didn't find anything specific to 2.4.
From the 2.4 release notes:
'Xcode now uses the number of active CPUs instead of the number of physically available CPUs when determining the number of parallel build processes to run.'
Not really sure how to take that, what is an 'active' CPU exactly?? The options to change this kind of stuff have been removed from the prefs in 2.4 aswell.
So, is there some hidden setting/pref I can change to get back to compiling with 2 threads?
No, that change is simply to reenable our looking at the hidden setting/pref that you can use to shut it down to 1 processor when you have 2. It's very unlikely that you've done this.
There are a lot of things that can contribute to longer build times when upgrading Xcode. Check to see whether your project:
- is now building with dwarf symbols rather than stabs (slower but gives more accurate debugging in most cases) - is now building Universal instead of single architecture (takes twice as long, because, well, it's building twice) - (less likely) if you have 512K memory, swapping is increasing - (less likely) if you have <1Gb free disk space, swapping is slower because of tight disk space - all your precompiled headers have to be rebuilt because of the new compiler version
If it's taking twice as long, I'd check to see whether you're building Universal now.
Chris |