[NumPy-Tickets] [NumPy] #1380: endianess is not set correctly for HP-UX Itanium

NumPy Trac numpy-tickets@scipy....
Mon Apr 26 05:49:34 CDT 2010


#1380: endianess is not set correctly for HP-UX Itanium
----------------------------------+-----------------------------------------
 Reporter:  neinhues              |       Owner:  somebody  
     Type:  defect                |      Status:  needs_work
 Priority:  normal                |   Milestone:  2.0.0     
Component:  numpy.core            |     Version:  1.4.0     
 Keywords:  endianess HP-UX IA64  |  
----------------------------------+-----------------------------------------

Comment(by cdavid):

 Replying to [comment:8 neinhues]:

 > However, I don't understand why you could not check for endianess at
 compile time
 > (only 2-3 lines of Python code)?
 > Why relying on assumptions of how different OS on the Itanium treat
 endianness?

 Because this is required for universal build on mac os x. Fixing it at
 compile time does not work there (think a ppc build importing the header
 generated for x86), and we need the endianness at include time (because
 some macro depend on it).

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1380#comment:9>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list