[Numpy-svn] r5002 - trunk/numpy/linalg

numpy-svn@scip... numpy-svn@scip...
Wed Apr 9 10:28:43 CDT 2008


Author: pearu
Date: 2008-04-09 10:28:36 -0500 (Wed, 09 Apr 2008)
New Revision: 5002

Modified:
   trunk/numpy/linalg/setup.py
Log:
Disable  pythonxerbla.c patch for win32 (the MSVC linker failes on multiple defined symbols) when using optimized lapack.

Modified: trunk/numpy/linalg/setup.py
===================================================================
--- trunk/numpy/linalg/setup.py	2008-04-09 15:15:05 UTC (rev 5001)
+++ trunk/numpy/linalg/setup.py	2008-04-09 15:28:36 UTC (rev 5002)
@@ -13,6 +13,9 @@
             print "### Warning:  Using unoptimized lapack ###"
             return ext.depends[:-1]
         else:
+            if sys.platform=='win32':
+                print "### Warning:  pythonxerbla.c is disabled ###"
+                return ext.depends[:1]
             return ext.depends[:2]
 
     config.add_extension('lapack_lite',



More information about the Numpy-svn mailing list