[Numpy-svn] r4433 - in branches/numpy.scons/numpy/distutils/scons: . checkers

numpy-svn@scip... numpy-svn@scip...
Sat Nov 10 21:27:00 CST 2007


Author: cdavid
Date: 2007-11-10 21:26:54 -0600 (Sat, 10 Nov 2007)
New Revision: 4433

Modified:
   branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py
   branches/numpy.scons/numpy/distutils/scons/fortran_scons.py
Log:
Add config info when F77 compiler not found for lapack checkers

Modified: branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py	2007-11-11 03:04:55 UTC (rev 4432)
+++ branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py	2007-11-11 03:26:54 UTC (rev 4433)
@@ -156,9 +156,11 @@
             # Get fortran stuff (See XXX at the top on F77 vs C)
             if not env.has_key('F77_NAME_MANGLER'):
                 if not CheckF77Mangling(context):
+		    add_info(env, 'lapack', 'Def numpy implementation used')
                     return 0
             if not env.has_key('F77_LDFLAGS'):
                 if not CheckF77Clib(context):
+		    add_info(env, 'lapack', 'Def numpy implementation used')
                     return 0
 
             # Get the mangled name of our test function

Modified: branches/numpy.scons/numpy/distutils/scons/fortran_scons.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/fortran_scons.py	2007-11-11 03:04:55 UTC (rev 4432)
+++ branches/numpy.scons/numpy/distutils/scons/fortran_scons.py	2007-11-11 03:26:54 UTC (rev 4433)
@@ -110,8 +110,8 @@
 # If need a dummy main
 def _CheckFDummyMain(context, fcomp):
     if not context.env.has_key(fcomp):
-        context.Message('No %s compiler defined: cannot check dummy main ')
-        return 0
+        context.Message('Checking dummy main: no %s compiler defined: cannot check dummy main ' % fcomp)
+        return 0, None
     else:
         context.Message('Checking if %s needs dummy main - ' % context.env[fcomp])
 



More information about the Numpy-svn mailing list