summaryrefslogtreecommitdiff
path: root/testsuite/config
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2014-08-09 14:49:33 -0400
committerReid Barton <rwbarton@gmail.com>2014-08-09 14:49:33 -0400
commit44c1e3f4e2c06eae02dd3d53cdece97d4b07bda7 (patch)
tree239b2e9715176478d3d243d4ebd0cf33f34687aa /testsuite/config
parent4e020b33f6d5e86d1a60761ea1c63900d501c475 (diff)
downloadhaskell-44c1e3f4e2c06eae02dd3d53cdece97d4b07bda7.tar.gz
testsuite: add list of llvm_ways
Diffstat (limited to 'testsuite/config')
-rw-r--r--testsuite/config/ghc4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index f763e72ed3..031d955552 100644
--- a/testsuite/config/ghc
+++ b/testsuite/config/ghc
@@ -160,6 +160,10 @@ opt_ways = map (lambda x: x[0], \
filter(lambda x: '-O' in x[1], \
config.way_flags('dummy_name').items()))
+llvm_ways = map (lambda x: x[0], \
+ filter(lambda x: '-fllvm' in x[1], \
+ config.way_flags('dummy_name').items()))
+
def get_compiler_info():
# This should really not go through the shell
h = os.popen('"' + config.compiler + '" --info', 'r')