diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-07-13 14:03:54 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-07-15 16:41:04 -0400 |
commit | 2143c49273d7d87ee2f3ef1211856d60b1427af1 (patch) | |
tree | d08b956887e69f9bd2959f1ac75cc2a2182f9a32 /testsuite/config/ghc | |
parent | ded58a037774147073366ff2dfdc8965e02a96e5 (diff) | |
download | haskell-2143c49273d7d87ee2f3ef1211856d60b1427af1.tar.gz |
testsuite: Add winio and winio_threaded wayswip/winio
Reverts many of the testsuite changes
Diffstat (limited to 'testsuite/config/ghc')
-rw-r--r-- | testsuite/config/ghc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/config/ghc b/testsuite/config/ghc index b561fc806e..4f053eb50f 100644 --- a/testsuite/config/ghc +++ b/testsuite/config/ghc @@ -68,6 +68,14 @@ if (ghc_with_llvm and not config.unregisterised): config.compile_ways.append('optllvm') config.run_ways.append('optllvm') +# WinIO I/O manager for Windows +if windows: + winio_ways = ['winio', 'winio_threaded'] + if config.speed == 0: + config.run_ways += winio_ways + else: + config.other_ways += winio_ways + config.way_flags = { 'normal' : [], 'normal_h' : [], @@ -108,6 +116,8 @@ config.way_flags = { 'nonmoving_thr': ['-threaded'], 'nonmoving_thr_ghc': ['+RTS', '-xn', '-N2', '-RTS', '-threaded'], 'compacting_gc': [], + 'winio': [], + 'winio_threaded': ['-threaded'], } config.way_rts_flags = { @@ -150,6 +160,8 @@ config.way_rts_flags = { 'nonmoving_thr' : ['-xn', '-N2'], 'nonmoving_thr_ghc': ['-xn', '-N2'], 'compacting_gc': ['-c'], + 'winio': ['--io-manager=native'], + 'winio_threaded': ['--io-manager=native'], } # Useful classes of ways that can be used with only_ways(), omit_ways() and |