[commit: ghc] master: testsuite: add list of llvm_ways (44c1e3f)

git at git.haskell.org git at git.haskell.org
Sat Aug 9 19:44:47 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/44c1e3f4e2c06eae02dd3d53cdece97d4b07bda7/ghc

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

commit 44c1e3f4e2c06eae02dd3d53cdece97d4b07bda7
Author: Reid Barton <rwbarton at gmail.com>
Date:   Sat Aug 9 14:49:33 2014 -0400

    testsuite: add list of llvm_ways


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

44c1e3f4e2c06eae02dd3d53cdece97d4b07bda7
 testsuite/config/ghc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/testsuite/config/ghc b/testsuite/config/ghc
index f763e72..031d955 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')



More information about the ghc-commits mailing list