[Numpy-tickets] [NumPy] #612: NumPy 1.0.4 fails to compile on Cygwin

NumPy numpy-tickets@scipy....
Sat Jan 26 02:32:06 CST 2008


#612: NumPy 1.0.4 fails to compile on Cygwin
-------------------------------+--------------------------------------------
 Reporter:  mdehoon            |        Owner:  somebody
     Type:  defect             |       Status:  new     
 Priority:  normal             |    Milestone:  1.0.5   
Component:  Other              |      Version:          
 Severity:  blocker            |   Resolution:          
 Keywords:  Cygwin, compiling  |  
-------------------------------+--------------------------------------------
Comment (by mdehoon):

 I think I found the source of this problem, though I am not yet sure about
 the best solution. In numpy/distutils/fcompiler/__init__.py, in line 685
 we have for the _default_compilers for cygwin this line:

     ('cygwin.*',
 ('gnu','intelv','absoft','compaqv','intelev','gnu95','g95')),

 In numpy/distutils/fcompiler/compaq.py, on the other hand, we have

 compilers = ['CompaqFCompiler']
 if os.name != 'posix':
     # Otherwise we'd get a false positive on posix systems with
     # case-insensitive filesystems (like darwin), because we'll pick
     # up /bin/df
     compilers.append('CompaqVisualFCompiler')

 Now, on Cygwin os.name is 'posix', so we only pick up CompaqFCompiler and
 not CompaqVisualFCompiler. But, in the _default_compilers above, we have
 'compaqv', which is CompaqVisualFCompiler, and not 'compaq', which is
 CompaqFCompiler. So there is an inconsistency between the two.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/612#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