py26-numpy is much slower than NumPy compiled for MacPython

Frank Schima macsforever2000 at macports.org
Tue Dec 7 21:17:23 PST 2010


On Dec 7, 2010, at 10:02 PM, Konrad Hinsen wrote:

> On 08.12.2010, at 00:31, Frank Schima wrote:
> 
>> Wow, interesting result. I just ran the benchmark on my Mac Pro 2008 and got 44 s with py26-numpy. I rebuilt it just to take a look. I noticed it is using -O3 in the configure flags which is good, but it was using gcc-4.2 to build. I have the gcc44 variant selected and that is the default, so it's possible that is the problem but maybe I'm just misunderstanding the gcc4x variants.
> 
> My installation uses the default, gcc 4.4, and my numbers are for a MacBook Pro running at 2.53 GHz.
> 
> Does gcc-4.2 mean you used the gcc from Apple's Xcode package?

Well the portfile used gcc-4.2 from Xcode on my setup. This based on examining the debug log. 


Cheers!
Frank




More information about the macports-users mailing list