on master help sign in
disable fusion-plugin for tests

Currently tests use -O0 and plugin does not work without an optimization option.

commit500d187b8fb5b6b1bc424725dd179650fb41c49c authorHarendra Kumar <harendra@composewell.com> dateSat 25 Apr 2020, 00:19 (6 years ago) parent7af52d3
1 file changed+5−4
streamly.cabal+5−4
streamly.cabal+5−4
@@ -253,10 +253,11 @@ common test-options
253253
254254 ghc-options: -O0
255255 -fno-ignore-asserts
256− if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
257− ghc-options: -fplugin Fusion.Plugin
258− build-depends:
259− fusion-plugin >= 0.2 && < 0.3
256+ -- XXX we need -O for plugin to work
257+ -- if flag(fusion-plugin) && !impl(ghcjs) && !impl(ghc < 8.6)
258+ -- ghc-options: -fplugin Fusion.Plugin
259+ -- build-depends:
260+ -- fusion-plugin >= 0.2 && < 0.3
260261
261262-- Used by maxrate test, benchmarks and executables
262263common exe-options