File: 02_build_dotblas.patch

package info (click to toggle)
python-numpy 1%3A1.1.0-3%2Blenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 9,548 kB
  • ctags: 14,321
  • sloc: ansic: 73,119; python: 59,655; cpp: 822; makefile: 179; fortran: 121; f90: 42
file content (18 lines) | stat: -rw-r--r-- 938 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Patch to build _dotblas.c when ATLAS is not installed.

Added by: Tiziano Zito <otizonaizit@yahoo.com>
Index: python-numpy-1.1.0.new/numpy/core/setup.py
===================================================================
--- python-numpy-1.1.0.old/numpy/core/setup.py 2008-05-26 09:39:44.000000000 +0200
+++ python-numpy-1.1.0.new/numpy/core/setup.py 2008-07-08 13:37:23.000000000 +0200
@@ -291,8 +291,8 @@
     #blas_info = {}
     def get_dotblas_sources(ext, build_dir):
         if blas_info:
-            if ('NO_ATLAS_INFO',1) in blas_info.get('define_macros',[]):
-                return None # dotblas needs ATLAS, Fortran compiled blas will not be sufficient.
+            #if ('NO_ATLAS_INFO',1) in blas_info.get('define_macros',[]):
+            #    return None # dotblas needs ATLAS, Fortran compiled blas will not be sufficient.
             return ext.depends[:1]
         return None # no extension module will be built