[NumPy-Tickets] [NumPy] #1694: Adding support to an ARM processor

NumPy Trac numpy-tickets@scipy....
Thu Mar 10 02:34:01 CST 2011

#1694: Adding support to an ARM processor
 Reporter:  Snark            |       Owner:  cdavid
     Type:  defect           |      Status:  new   
 Priority:  normal           |   Milestone:  1.6.0 
Component:  numpy.distutils  |     Version:  1.5.0 
 Keywords:                   |  

Comment(by rgommers):

 So the existing code seems like it should work, right?
 #elif defined(__arm__) && defined(__ARMEL__)
     #define NPY_CPU_ARMEL
 Do you perhaps have an old version of numpy? I'm asking because your error
 numpy/core/include/numpy/npy_cpu.h:49: error: #error Unknown CPU, please
 report this to numpy maintainers with information about your platform (OS,
 CPU and compiler)
 In my version (current master) that is line 70, not 49.

 I looked a bit more at the logic in core/setup.py, and as usual with
 distutils this is quite a pain to debug. For some reason the default
 include_dirs is only numpy+python:
 ['numpy/core/src/private', 'numpy/core/src', 'numpy/core',
 'numpy/core/src/npymath', 'numpy/core/src/multiarray',
 'numpy/core/src/umath', 'numpy/core/include',
 No idea why it does not look in the usual places for an endian.h.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1694#comment:6>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list