[Numpy-svn] r5283 - trunk/numpy/core

numpy-svn@scip... numpy-svn@scip...
Sat Jun 14 01:06:39 CDT 2008


Author: cdavid
Date: 2008-06-14 01:06:13 -0500 (Sat, 14 Jun 2008)
New Revision: 5283

Modified:
   trunk/numpy/core/SConscript
Log:
Fix dotblas compilation on mac os X: scons scanner is not smart enough to interpret #include CPP_MACRO.

Modified: trunk/numpy/core/SConscript
===================================================================
--- trunk/numpy/core/SConscript	2008-06-12 15:16:07 UTC (rev 5282)
+++ trunk/numpy/core/SConscript	2008-06-14 06:06:13 UTC (rev 5283)
@@ -263,6 +263,5 @@
 #----------------------
 if build_blasdot:
     dotblas_src = [pjoin('blasdot', i) for i in ['_dotblas.c']]
-    blasenv = env.Clone()
-    blasenv.Append(CPPPATH = pjoin('blasdot'))
-    dotblas = blasenv.DistutilsPythonExtension('_dotblas', source = dotblas_src)
+    dotblas = env.DistutilsPythonExtension('_dotblas', source = dotblas_src)
+    env.Depends(dotblas, pjoin("blasdot", "cblas.h"))



More information about the Numpy-svn mailing list