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

numpy-svn@scip... numpy-svn@scip...
Thu Jun 12 05:00:48 CDT 2008


Author: cdavid
Date: 2008-06-12 05:00:37 -0500 (Thu, 12 Jun 2008)
New Revision: 5279

Added:
   trunk/numpy/linalg/SConscript
   trunk/numpy/linalg/SConstruct
Removed:
   trunk/numpy/linalg/SConstruct
Log:
adapt numpy.linalg to new scons build_dir architecture.

Copied: trunk/numpy/linalg/SConscript (from rev 5266, trunk/numpy/linalg/SConstruct)
===================================================================
--- trunk/numpy/linalg/SConstruct	2008-06-12 05:45:18 UTC (rev 5266)
+++ trunk/numpy/linalg/SConscript	2008-06-12 10:00:37 UTC (rev 5279)
@@ -0,0 +1,29 @@
+# Last Change: Thu Jun 12 06:00 PM 2008 J
+# vim:syntax=python
+import os.path
+
+from numscons import GetNumpyEnvironment, scons_get_paths, \
+                     scons_get_mathlib
+from numscons import CheckF77LAPACK
+from numscons import write_info
+
+env = GetNumpyEnvironment(ARGUMENTS)
+env.Append(CPPPATH = scons_get_paths(env['include_bootstrap']))
+
+config = env.NumpyConfigure(custom_tests = 
+    {'CheckLAPACK' : CheckF77LAPACK})
+
+use_lapack = config.CheckLAPACK()
+
+mlib = scons_get_mathlib(env)
+env.AppendUnique(LIBS = mlib)
+
+config.Finish()
+write_info(env)
+
+sources = ['lapack_litemodule.c']
+if not use_lapack:
+    sources.extend(['python_xerbla.c', 'zlapack_lite.c', 'dlapack_lite.c',
+                    'blas_lite.c', 'dlamch.c', 'f2c_lite.c'])
+lapack_lite = env.DistutilsPythonExtension('lapack_lite', source = sources)
+            

Deleted: trunk/numpy/linalg/SConstruct
===================================================================
--- trunk/numpy/linalg/SConstruct	2008-06-12 09:56:55 UTC (rev 5278)
+++ trunk/numpy/linalg/SConstruct	2008-06-12 10:00:37 UTC (rev 5279)
@@ -1,29 +0,0 @@
-# Last Change: Tue May 20 05:00 PM 2008 J
-# vim:syntax=python
-import os.path
-
-from numscons import GetNumpyEnvironment, scons_get_paths, \
-                     scons_get_mathlib
-from numscons import CheckF77LAPACK
-from numscons import write_info
-
-env = GetNumpyEnvironment(ARGUMENTS)
-env.Append(CPPPATH = scons_get_paths(env['include_bootstrap']))
-
-config = env.NumpyConfigure(custom_tests = 
-    {'CheckLAPACK' : CheckF77LAPACK})
-
-use_lapack = config.CheckLAPACK()
-
-mlib = scons_get_mathlib(env)
-env.AppendUnique(LIBS = mlib)
-
-config.Finish()
-write_info(env)
-
-sources = ['lapack_litemodule.c']
-if not use_lapack:
-    sources.extend(['python_xerbla.c', 'zlapack_lite.c', 'dlapack_lite.c',
-                    'blas_lite.c', 'dlamch.c', 'f2c_lite.c'])
-lapack_lite = env.NumpyPythonExtension('lapack_lite', source = sources)
-            

Copied: trunk/numpy/linalg/SConstruct (from rev 5277, trunk/numpy/numarray/SConstruct)



More information about the Numpy-svn mailing list