on master help sign in
update GHC/cabal versions
5708ef6Harendra Kumar
.travis.yml+18−15
@@ -80,20 +80,20 @@ matrix:
80 # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
80 # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
81 # warnings.
81 # warnings.
82 - env: BUILD=stack RESOLVER=lts-6 GHCVER=7.10.3 GHC_OPTIONS="" STACK_YAML=stack-7.10.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
82 - env: BUILD=stack RESOLVER=lts-6 GHCVER=7.10.3 GHC_OPTIONS="" STACK_YAML=stack-7.10.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
83− addons: {apt: {packages: [cabal-install-1.22,libsdl1.2-dev], sources: [hvr-ghc]}}
83+ addons: {apt: {packages: [cabal-install-2.4,libsdl1.2-dev], sources: [hvr-ghc]}}
84
84
85− - env: BUILD=stack RESOLVER=lts-9 GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y GHC_OPTIONS="-DCOVERAGE_BUILD" STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
85+ - env: BUILD=stack RESOLVER=lts-9 GHCVER=8.0.2 STACK_YAML=stack-8.0.yaml DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
86− addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
86+ addons: {apt: {packages: [cabal-install-2.4,libsdl1.2-dev], sources: [hvr-ghc]}}
87
87
88 # Use cabal-install-1.24 for stack solver to work
88 # Use cabal-install-1.24 for stack solver to work
89 # GHC-8.2.2 hogs memory leading to out-of-memory when compiling benchmarks
89 # GHC-8.2.2 hogs memory leading to out-of-memory when compiling benchmarks
90 # So disable the benchmarks for this build.
90 # So disable the benchmarks for this build.
91 - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y DISABLE_BENCH=y
91 - env: BUILD=stack GHCVER=8.2.2 RESOLVER=lts-11 GHC_OPTIONS="" DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y DISABLE_BENCH=y
92− addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
92+ addons: {apt: {packages: [cabal-install-2.4,libsdl1.2-dev], sources: [hvr-ghc]}}
93
93
94 # Use cabal-install-1.24 for stack solver to work
94 # Use cabal-install-1.24 for stack solver to work
95− - env: BUILD=stack RESOLVER=nightly DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
95+ #- env: BUILD=stack RESOLVER=nightly DISABLE_SDIST_BUILD=y DISABLE_DIST_CHECKS=y
96− addons: {apt: {packages: [cabal-install-1.24], sources: [hvr-ghc]}}
96+ # addons: {apt: {packages: [cabal-install-1.24], sources: [hvr-ghc]}}
97
97
98 # You can keep a STACK_YAML file at any path location
98 # You can keep a STACK_YAML file at any path location
99 #- env: BUILD=stack STACK_YAML=.ci/stack-8.0.yaml
99 #- env: BUILD=stack STACK_YAML=.ci/stack-8.0.yaml
@@ -119,13 +119,16 @@ matrix:
119 # Using stack builds, cabal builds get terminated because the tests
119 # Using stack builds, cabal builds get terminated because the tests
120 # take more than 10 minutes and it does not produce any output until the end.
120 # take more than 10 minutes and it does not produce any output until the end.
121 - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4
121 - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4
122− addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
122+ addons: {apt: {packages: [cabal-install-2.4,ghc-8.4.4], sources: [hvr-ghc]}}
123
123
124− - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
124+ - env: BUILD=stack RESOLVER=lts-13 GHCVER=8.6.3 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
125− addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
125+ addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.3], sources: [hvr-ghc]}}
126
126
127+ - env: BUILD=stack RESOLVER=lts-13 GHCVER=8.6.3 STACK_BUILD_OPTIONS="--flag streamly:examples-sdl"
128+ addons: {apt: {packages: [cabal-install-2.4,ghc-8.6.3], sources: [hvr-ghc]}}
129+
127− - env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
130+ #- env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
128− addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
131+ # addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
129
132
130 # You can specify build flags like this:
133 # You can specify build flags like this:
131 #- env: BUILD=cabal-new CABAL_NEWBUILD_OPTIONS="--flags=dev"
134 #- env: BUILD=cabal-new CABAL_NEWBUILD_OPTIONS="--flags=dev"
@@ -135,8 +138,8 @@ matrix:
135 # OS X builds
138 # OS X builds
136 # --------------------------------------------------------------------------
139 # --------------------------------------------------------------------------
137
140
138− # GHC 8.4/cabal build using stack!
141+ # GHC 8.6/cabal build using stack!
139− - env: BUILD=cabal-new RESOLVER=lts-12 GHCVER=8.4 GHC_OPTIONS=""
142+ - env: BUILD=cabal-new RESOLVER=lts-13 GHCVER=8.6 GHC_OPTIONS=""
140 os: osx
143 os: osx
141
144
142 # GHC 8.2.2/stack
145 # GHC 8.2.2/stack
@@ -147,7 +150,7 @@ matrix:
147 # Lint e.g. HLINT_COMMANDS="hlint lint src; hlint lint test"
150 # Lint e.g. HLINT_COMMANDS="hlint lint src; hlint lint test"
148 # --------------------------------------------------------------------------
151 # --------------------------------------------------------------------------
149
152
150− - env: BUILD=stack RESOLVER=lts-11 HLINT_COMMANDS="hlint lint ."
153+ - env: BUILD=stack RESOLVER=lts-13 HLINT_COMMANDS="hlint lint ."
151
154
152 # --------------------------------------------------------------------------
155 # --------------------------------------------------------------------------
153 # Build and send coverage report to coveralls.io using hpc-coveralls
156 # Build and send coverage report to coveralls.io using hpc-coveralls
@@ -155,7 +158,7 @@ matrix:
155 # For available options see hpc-coveralls docs.
158 # For available options see hpc-coveralls docs.
156 # --------------------------------------------------------------------------
159 # --------------------------------------------------------------------------
157
160
158− #- env: BUILD=cabal COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines --exclude-dir=test test properties loops nested-loops parallel-loops" GHC_OPTIONS="-DCOVERAGE_BUILD" DISABLE_SDIST_BUILD=y DISABLE_BENCH=y DISABLE_DOCS=y
161+ #- env: BUILD=cabal COVERALLS_OPTIONS="--coverage-mode=StrictlyFullLines --exclude-dir=test test properties loops nested-loops parallel-loops" DISABLE_SDIST_BUILD=y DISABLE_BENCH=y DISABLE_DOCS=y
159 # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
162 # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
160
163
161 # --------------------------------------------------------------------------
164 # --------------------------------------------------------------------------
docs/Build.md+6
@@ -2,3 +2,9 @@
2
2
3* Recommended compiler options are: `-O2 -fspec-constr-recursive=10`
3* Recommended compiler options are: `-O2 -fspec-constr-recursive=10`
4* To make use of multiple cores, use: `-threaded -with-rtsopts "-N"`
4* To make use of multiple cores, use: `-threaded -with-rtsopts "-N"`
5+
6+# Known Issues
7+
8+GHC 8.2.2 may hog memory and hang when building certain application using
9+streamly (particularly the streamly benchmarks). Therefore we recommend
10+avoiding using the GHC version 8.2.x.
streamly.cabal+4−1
@@ -69,7 +69,10 @@ homepage: https://github.com/composewell/streamly
69bug-reports: https://github.com/composewell/streamly/issues
69bug-reports: https://github.com/composewell/streamly/issues
70license: BSD3
70license: BSD3
71license-file: LICENSE
71license-file: LICENSE
72−tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
72+tested-with: GHC==7.10.3
73+ , GHC==8.0.2
74+ , GHC==8.4.4
75+ , GHC==8.6.3
73author: Harendra Kumar
76author: Harendra Kumar
74maintainer: harendra.kumar@gmail.com
77maintainer: harendra.kumar@gmail.com
75copyright: 2017 Harendra Kumar
78copyright: 2017 Harendra Kumar