summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorandy <andy@galois.com>2006-10-25 20:18:46 +0000
committerandy <andy@galois.com>2006-10-25 20:18:46 +0000
commit9f108a30f5fcd5b435383806f0a94142819598c5 (patch)
tree2875840e629cf769df924c6a0d13d922aaf4c7da /testsuite/config
parente5b2dc6f29e24486e7b0ad77d2920b74e2915542 (diff)
downloadhaskell-9f108a30f5fcd5b435383806f0a94142819598c5.tar.gz
Adding a new way for hpc
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc12
1 files changed, 7 insertions, 5 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 940013d56e..87951d4175 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -6,11 +6,11 @@ config.compiler_type = 'ghc'
config.compiler = 'ghc'
config.compiler_always_flags = ['-no-recomp', '-dcore-lint', '-dcmm-lint']
-# By default, we test the 'normal' and 'opt' ways.
+# By default, we test the 'normal', 'opt' and 'hpc' ways.
# 'optasm' is added by mk/test.mk if the compiler has a native code gen,
# 'prof' is added by mk/test.mk if the profiling way is enabled.
-config.compile_ways = ['normal', 'opt']
-config.run_ways = ['normal', 'opt']
+config.compile_ways = ['normal', 'opt', 'hpc']
+config.run_ways = ['normal', 'opt', 'hpc']
# ways that are not enabled by default, but can always be invoked explicitly
config.other_ways = ['extcore','optextcore']
@@ -49,7 +49,8 @@ config.way_flags = {
'extcore' : ['-fext-core'],
'optextcore' : ['-O -fext-core'],
'threaded1' : ['-threaded', '-debug'],
- 'threaded2' : ['-O', '-threaded']
+ 'threaded2' : ['-O', '-threaded'],
+ 'hpc' : ['-O', '-fhpc' ]
}
config.way_rts_flags = {
@@ -63,6 +64,7 @@ config.way_rts_flags = {
'extcore' : [],
'optextcore' : [],
'threaded1' : [],
- 'threaded2' : ['-N2']
+ 'threaded2' : ['-N2'],
+ 'hpc' : []
}