summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorDavid Terei <davidterei@gmail.com>2012-10-01 15:01:56 -0700
committerDavid Terei <davidterei@gmail.com>2012-10-01 15:01:56 -0700
commitcb467f026e79d84ecd6981df91840055e57d6054 (patch)
treecb9f5b2e270fddc74b192354599a9ee3a435ccb5 /testsuite/config
parent1175d359de0376245be8267a34944463e9ee81c0 (diff)
downloadhaskell-cb467f026e79d84ecd6981df91840055e57d6054.tar.gz
Add bunch of llvm ways for testing purposes.
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc23
1 files changed, 20 insertions, 3 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index 3ce91af623..8c8c329c8e 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -26,7 +26,10 @@ config.other_ways = ['extcore','optextcore',
'prof_hc_hb','prof_hb',
'prof_hd','prof_hy','prof_hr',
'threaded1_ls', 'threaded2_hT',
- 'llvm', 'debugllvm' ]
+ 'llvm', 'debugllvm',
+ 'profllvm', 'profoptllvm', 'profthreadedllvm',
+ 'threaded1llvm', 'threaded2llvm',
+ 'dynllvm']
if (ghc_with_native_codegen == 1):
config.compile_ways.append('optasm')
@@ -86,7 +89,14 @@ config.way_flags = {
'prof_hd' : ['-O', '-prof', '-auto-all'],
'prof_hy' : ['-O', '-prof', '-auto-all'],
'prof_hr' : ['-O', '-prof', '-auto-all'],
- 'dyn' : ['-O', '-dynamic']
+ 'dyn' : ['-O', '-dynamic'],
+ # llvm variants...
+ 'profllvm' : ['-prof', '-auto-all', '-fllvm'],
+ 'profoptllvm' : ['-O', '-prof', '-auto-all', '-fllvm'],
+ 'profthreadedllvm' : ['-O', '-prof', '-auto-all', '-threaded', '-fllvm'],
+ 'threaded1llvm' : ['-threaded', '-debug', '-fllvm'],
+ 'threaded2llvm' : ['-O', '-threaded', '-eventlog', '-fllvm'],
+ 'dynllvm' : ['-O', '-dynamic', '-fllvm']
}
config.way_rts_flags = {
@@ -112,7 +122,14 @@ config.way_rts_flags = {
'prof_hd' : ['-hd'],
'prof_hy' : ['-hy'],
'prof_hr' : ['-hr'],
- 'dyn' : []
+ 'dyn' : [],
+ # llvm variants...
+ 'profllvm' : ['-p'],
+ 'profoptllvm' : ['-hc', '-p'],
+ 'profthreadedllvm' : ['-p'],
+ 'threaded1llvm' : [],
+ 'threaded2llvm' : ['-N2 -ls'],
+ 'dynllvm' : []
}
# Useful classes of ways that can be used with only_ways() and