[Numpy-svn] r4424 - branches/numpy.scons/numpy/distutils/scons/core

numpy-svn@scip... numpy-svn@scip...
Fri Nov 9 00:37:44 CST 2007


Author: cdavid
Date: 2007-11-09 00:37:38 -0600 (Fri, 09 Nov 2007)
New Revision: 4424

Modified:
   branches/numpy.scons/numpy/distutils/scons/core/default.py
Log:
Basic optimization flags for Sun CC

Modified: branches/numpy.scons/numpy/distutils/scons/core/default.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/core/default.py	2007-11-08 22:06:18 UTC (rev 4423)
+++ branches/numpy.scons/numpy/distutils/scons/core/default.py	2007-11-09 06:37:38 UTC (rev 4424)
@@ -174,6 +174,9 @@
     elif name == 'mingw':
         cfg = CompilerConfig(optim = ['-O2', '-fno-strict-aliasing'],
                              warn = ['-Wall', '-Wstrict-prototypes'])
+    elif name == 'suncc':
+        cfg = CompilerConfig(optim = ['-fast'],
+			     debug_symbol = ['-g'])
     else:
         # For not yet supported compiler, just put everything in optims from
         # distutils



More information about the Numpy-svn mailing list