[SciPy-user] numpy 64 bit build on mac os x
Tue May 19 20:37:17 CDT 2009
Just wanted to say thanks for looking into this. I now have a working
4-way universal build of numpy!
On Wed, May 20, 2009 at 8:18 AM, David Warde-Farley <firstname.lastname@example.org> 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/
>> 1576 In file included from numpy/core/include/numpy/ndarrayobject.h:
>> 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.
> SciPy-user mailing list
More information about the SciPy-user