Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/5a30e0d315e943a3f3f2d150973aaa07f1441a38

>---------------------------------------------------------------

commit 5a30e0d315e943a3f3f2d150973aaa07f1441a38
Author: Simon Marlow <[email protected]>
Date:   Fri Oct 14 16:45:21 2011 +0100

    add an unoptimised profiled way ('prof')

>---------------------------------------------------------------

 config/ghc |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/config/ghc b/config/ghc
index c17b808..b6340cc 100644
--- a/config/ghc
+++ b/config/ghc
@@ -22,6 +22,7 @@ config.run_ways           = ['normal', 'hpc']
 
 # ways that are not enabled by default, but can always be invoked explicitly
 config.other_ways         = ['extcore','optextcore',
+                             'prof',
                              'prof_hc_hb','prof_hb',
                              'prof_hd','prof_hy','prof_hr',
                              'threaded1_ls', 'threaded2_hT',
@@ -67,8 +68,9 @@ config.way_flags = {
     'llvm'         : ['-fllvm'],
     'optllvm'      : ['-O -fllvm'],
     'debugllvm'    : ['-fllvm -keep-llvm-files'],
-    'profasm'      : ['-O -prof -auto-all -fasm'],
-    'profthreaded' : ['-O -prof -auto-all -fasm -threaded'],
+    'prof'         : ['-prof -auto-all -fasm'],
+    'profasm'      : ['-O -prof -auto-all'],
+    'profthreaded' : ['-O -prof -auto-all -threaded'],
     'ghci'         : ['--interactive', '-v0', '-ignore-dot-ghci', '+RTS', 
'-I0.1', '-RTS'],
     'extcore'      : ['-fext-core'],
     'optextcore'   : ['-O -fext-core'],
@@ -92,7 +94,8 @@ config.way_rts_flags = {
     'llvm'         : [],
     'optllvm'      : [],
     'debugllvm'    : [],
-    'profasm'      : ['-hc'], # test heap profiling too
+    'prof'         : ['-p'],
+    'profasm'      : ['-hc', '-p'], # test heap profiling too
     'profthreaded' : ['-p'],
     'ghci'         : [],
     'extcore'      : [],
@@ -113,7 +116,7 @@ config.way_rts_flags = {
 # Useful classes of ways:
 
 prof_ways = filter(lambda x: x in config.run_ways, 
-                   ['profasm','profthreaded'])
+                   ['prof', 'profasm','profthreaded'])
 
 threaded_ways = filter(lambda x: x in config.run_ways, 
                        ['threaded1','threaded2','ghci','profthreaded'])



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to