[SciPy-user] numpy 64 bit build on mac os x

Roger Herikstad roger.herikstad at gmail.com
Tue May 19 21:37:17 EDT 2009


Hi,
 Just wanted to say thanks for looking into this. I now have a working
4-way universal build of numpy!

~ Roger

On Wed, May 20, 2009 at 8:18 AM, David Warde-Farley <dwf at cs.toronto.edu> wrote:
> On 16-May-09, at 3:23 AM, Roger Herikstad wrote:
>
>> -Ibuild/src.macosx-10.5-universal-2.6/numpy/core/src/multia     rray
>> -Ibuild/src.macosx-10.5-universal-2.6/numpy/core/src/umath -c'
>> 1575 gcc: build/src.macosx-10.5-universal-2.6/numpy/core/src/
>> _sortmodule.c
>> 1576 In file included from numpy/core/include/numpy/ndarrayobject.h:
>> 33,
>> 1577                  from numpy/core/include/numpy/noprefix.h:7,
>> 1578                  from numpy/core/src/_sortmodule.c.src:29:
>> 1579 numpy/core/include/numpy/npy_endian.h:33:10: error: #error
>> Unknown CPU: can not set endianness
>>
>> Is this an issue of the mixed endianness between ppc and intel macs?
>
> Actually I discovered it's a small bug in npy_endian.h.
>
> npy_cpu.h correctly detects and sets CPU architecture macros *but* for
> some reason npy_endian.h doesn't handle PPC64 and set big-endian. So,
> npy_cpu.h correctly detects PPC64 as the arch being built for but then
> the endianness setting code doesn't know what to do with it. The AMD64
> build works fine.
>
> I've filed a ticket at http://projects.scipy.org/numpy/ticket/1111 and
> attached a patch there, if you need it.
>
> David
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list