[Numpy-svn] r4916 - trunk/numpy/distutils/fcompiler

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Mar 22 02:25:15 EDT 2008


Author: cdavid
Date: 2008-03-22 01:25:07 -0500 (Sat, 22 Mar 2008)
New Revision: 4916

Modified:
   trunk/numpy/distutils/fcompiler/compaq.py
Log:
Add VisualCompaq compiler to the list of fortran compilers if platform is cygwin.

Modified: trunk/numpy/distutils/fcompiler/compaq.py
===================================================================
--- trunk/numpy/distutils/fcompiler/compaq.py	2008-03-22 04:46:19 UTC (rev 4915)
+++ trunk/numpy/distutils/fcompiler/compaq.py	2008-03-22 06:25:07 UTC (rev 4916)
@@ -8,7 +8,7 @@
 from distutils.errors import DistutilsPlatformError
 
 compilers = ['CompaqFCompiler']
-if os.name != 'posix':
+if os.name != 'posix' or sys.platform[:6] == 'cygwin' :
     # Otherwise we'd get a false positive on posix systems with
     # case-insensitive filesystems (like darwin), because we'll pick
     # up /bin/df




More information about the Numpy-svn mailing list