mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-09-11 08:25:40 +03:00
Allow -Werror without inspection/fusion-plugin
We may want to use the -Werror build locally but fusion-plugin takes too much time to build, so separate the two.
This commit is contained in:
parent
3b37295b29
commit
7de5d6d7ff
1
.github/workflows/haskell.yml
vendored
1
.github/workflows/haskell.yml
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user