[Numpy-svn] r4565 - branches/numpy.scons/numpy/distutils/scons/checkers

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Dec 10 21:12:58 EST 2007


Author: cdavid
Date: 2007-12-10 20:12:30 -0600 (Mon, 10 Dec 2007)
New Revision: 4565

Modified:
   branches/numpy.scons/numpy/distutils/scons/checkers/blas_lapack_checkers.py
Log:
Get F/C runtime for blas/lapack checkers

Modified: branches/numpy.scons/numpy/distutils/scons/checkers/blas_lapack_checkers.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/checkers/blas_lapack_checkers.py	2007-12-07 16:38:22 UTC (rev 4564)
+++ branches/numpy.scons/numpy/distutils/scons/checkers/blas_lapack_checkers.py	2007-12-11 02:12:30 UTC (rev 4565)
@@ -85,6 +85,11 @@
             add_info(env, libname, None)
             return 0
 
+    if not env.has_key('F77_LDFLAGS'):
+        if not CheckF77Clib(context):
+            add_info(env, 'lapack', None)
+            return 0
+
     func_name = env['F77_NAME_MANGLER']('sgemm')
     test_src = c_sgemm2 % {'func' : func_name}
 
@@ -172,6 +177,11 @@
             add_info(env, 'lapack', None)
             return 0
     
+    if not env.has_key('F77_LDFLAGS'):
+        if not CheckF77Clib(context):
+            add_info(env, 'lapack', None)
+            return 0
+    
     # Get the mangled name of our test function
     sgesv_string = env['F77_NAME_MANGLER']('sgesv')
     test_src = lapack_sgesv % sgesv_string




More information about the Numpy-svn mailing list