Skip to content

Commit

Permalink
Allow -Werror without inspection/fusion-plugin
Browse files Browse the repository at this point in the history
We may want to use the -Werror build locally but fusion-plugin takes too
much time to build, so separate the two.
  • Loading branch information
harendra-kumar committed Feb 8, 2021
1 parent e4e1d25 commit 17713ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/haskell.yml
Expand Up @@ -48,6 +48,7 @@ jobs:
ghc_version: 8.8.3
build: cabal-v2
cabal_project: cabal.project.ci
cabal_build_options: "--flag fusion-plugin --flag inspection"
runner: ubuntu-latest
- name: 8.6.5+streamk
ghc_version: 8.6.5
Expand Down
3 changes: 0 additions & 3 deletions cabal.project.ci
Expand Up @@ -5,12 +5,9 @@ packages:

package streamly
ghc-options: -Werror
flags: inspection

package streamly-benchmarks
ghc-options: -Werror
flags: inspection fusion-plugin

package streamly-tests
ghc-options: -Werror
flags: opt fusion-plugin
2 changes: 1 addition & 1 deletion test/streamly-tests.cabal
Expand Up @@ -103,7 +103,7 @@ common threading-options
-with-rtsopts=-N

common optimization-options
if flag(opt)
if flag(opt) || flag(fusion-plugin)
ghc-options: -O2
-fdicts-strict
-fmax-worker-args=16
Expand Down

0 comments on commit 17713ec

Please sign in to comment.