[Numpy-tickets] [NumPy] #458: Compilation fails on Cygwin

NumPy numpy-tickets@scipy....
Tue Mar 6 10:39:21 CST 2007


#458: Compilation fails on Cygwin
----------------------------+-----------------------------------------------
 Reporter:  mdehoon         |        Owner:  somebody
     Type:  defect          |       Status:  new     
 Priority:  normal          |    Milestone:          
Component:  numpy.numarray  |      Version:  1.0.1   
 Severity:  blocker         |   Resolution:          
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by gregsmithto):

 Try the following patch in _cblas.c: (delete the '-' line, add the '+'
 lines). This worked for me in cygwin, I've no idea if works for other
 platforms. This was inspired by comment made by Travis in a discussion gp.
 on 24-Jan-07.

 {{{
   /* Likewise for Integer overflows */
 - #if defined(linux)
 + #if defined(linux) || defined(__APPLE__) || defined(__CYGWIN__) ||
 + defined(__MINGW32__) #if defined(__GLIBC__) || defined(__APPLE__) ||
 + defined(__MINGW32__)
   #include <fenv.h>
 + #elif defined(__CYGWIN__)
 + #include "numpy/fenv/fenv.c"
 + #endif
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/458#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list