Re: PBXNumberOfParallelBuildSubtasks and Xcode4
Re: PBXNumberOfParallelBuildSubtasks and Xcode4
- Subject: Re: PBXNumberOfParallelBuildSubtasks and Xcode4
- From: Joar Wingfors <email@hidden>
- Date: Wed, 20 Apr 2011 11:47:34 -0700
On 20 apr 2011, at 01.52, Serge MONTAIGU wrote:
> Thank you for IDEBuildOperationMaxNumberOfConcurrentCompileTasks !!!
> Setting this number to 12 speeds up the compile time dramatically (from 40 mn to 4 mn !!) but I will buy more memory to upgrade my machine to 16Gb.
Please note that "virtual CPUs" are less efficient than physical CPUs. You'll probably see a bit of performance improvement if you add enough RAM to run 24 concurrent compiles, but don't expect it to be anywhere near 2x. The money *might* be better spent on an SSD. If you can benchmark ahead of time, try it out before you commit to getting the additional RAM. Just as a FYI.
That said, getting more RAM is almost always a good decision...
> Yes I did tried to switch to LLVM 2.0 but unfortunately I stall on this link error :
>
> ld: bad codegen, pointer diff in __ZN6PListeI10DrawObjectEC2Ess to global weak symbol __ZTV6PListeI10DrawObjectE for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> Command /Developer/usr/bin/clang++ failed with exit code 1
>
> demangling the symbol with c++filt I obtain :
>
> ld: bad codegen, pointer diff in PListe<DrawObject>::PListe(short, short) to global weak symbol vtable for PListe<DrawObject> for architecture i386
>
> I spent a couple of day trying to :
>
> + changing the way symbol are exported with __attribute__((visibility("default"))) after some class declaration
> + adding or removing virtual functions
> + removing inlines for constructors in the related templates
> + desperately pray to God (LLVM God of course)
>
> but I had to switch back to LLVM GCC 4.2 to be able to compile again...
>
> any idea ?
I'm not sure, sorry. Please file a bug report with as much information as you can provide and we'll take a look.
<http://developer.apple.com/bugreporter/>
Thanks,
j o a r
_______________________________________________
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