[Numpy-svn] r5067 - trunk/numpy/distutils/command

numpy-svn@scip... numpy-svn@scip...
Wed Apr 23 04:35:20 CDT 2008


Author: cdavid
Date: 2008-04-23 04:35:15 -0500 (Wed, 23 Apr 2008)
New Revision: 5067

Modified:
   trunk/numpy/distutils/command/scons.py
Log:
Does not replace g++ by c++ compiler name.

Modified: trunk/numpy/distutils/command/scons.py
===================================================================
--- trunk/numpy/distutils/command/scons.py	2008-04-23 04:57:00 UTC (rev 5066)
+++ trunk/numpy/distutils/command/scons.py	2008-04-23 09:35:15 UTC (rev 5067)
@@ -92,10 +92,6 @@
 def dist2sconscxx(compiler):
     """This converts the name passed to distutils to scons name convention
     (C++ compiler). The argument should be a Compiler instance."""
-    if compiler.compiler_type == 'gnu':
-        return 'g++'
-    else:
-        return 'c++'
     return compiler.compiler_cxx[0]
 
 def get_compiler_executable(compiler):
@@ -329,7 +325,7 @@
             if int(self.silent) < 1:
                 log.info("Executing scons command (pkg is %s): %s ", pkg_name, cmdstr)
             else:
-                log.info("Executing scons command for pkg %s", pkg_name)
+                log.info("======== Executing scons command for pkg %s =========", pkg_name)
             st = os.system(cmdstr)
             if st:
                 print "status is %d" % st



More information about the Numpy-svn mailing list