[Numpy-svn] r6438 - branches/coremath/numpy/core

numpy-svn@scip... numpy-svn@scip...
Sat Feb 21 11:01:54 CST 2009


Author: cdavid
Date: 2009-02-21 11:01:40 -0600 (Sat, 21 Feb 2009)
New Revision: 6438

Modified:
   branches/coremath/numpy/core/SConscript
Log:
Add npymath lib to scons script.

Modified: branches/coremath/numpy/core/SConscript
===================================================================
--- branches/coremath/numpy/core/SConscript	2009-02-21 17:00:45 UTC (rev 6437)
+++ branches/coremath/numpy/core/SConscript	2009-02-21 17:01:40 UTC (rev 6438)
@@ -260,7 +260,6 @@
 # Generate generated code
 #------------------------
 scalartypes_src = env.GenerateFromTemplate(pjoin('src', 'scalartypes.inc.src'))
-umath_funcs_c99_src = env.GenerateFromTemplate(pjoin('src', 'umath_funcs_c99.inc.src'))
 umath_funcs_src = env.GenerateFromTemplate(pjoin('src', 'umath_funcs.inc.src'))
 umath_loops_src = env.GenerateFromTemplate(pjoin('src', 'umath_loops.inc.src'))
 arraytypes_src = env.GenerateFromTemplate(pjoin('src', 'arraytypes.inc.src'))
@@ -280,6 +279,12 @@
 
 env.Prepend(CPPPATH = ['include', '.'])
 
+# npymath core lib
+npymath_src = env.GenerateFromTemplate(pjoin('src', 'npy_math.c.src'))
+env.DistutilsStaticExtLibrary("npymath", npymath_src)
+env.Prepend(LIBS=["npymath"])
+env.Prepend(LIBPATH=["."])
+
 #-----------------
 # Build multiarray
 #-----------------



More information about the Numpy-svn mailing list