on master help sign in
update GHC/cabal versions
commit5708ef62e44cff4bf5b10b36c86749c0f601521b authorHarendra Kumar <harendra.kumar@gmail.com> dateMon 31 Dec 2018, 00:47 (8 years ago) parentebf2cc8
3 files changed+28−16
.travis.yml+18−15 docs/Build.md+6 streamly.cabal+4−1
.travis.yml+18−15
@@ -80,20 +80,20 @@ matrix:
8080 # For 7.10.3 we disable -Werror because of some bogus SPECIALIZE pragma
8181 # warnings.
8282 - 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]}}
8484
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"
86− addons: {apt: {packages: [cabal-install-1.24,libsdl1.2-dev], sources: [hvr-ghc]}}
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-2.4,libsdl1.2-dev], sources: [hvr-ghc]}}
8787
8888 # Use cabal-install-1.24 for stack solver to work
8989 # GHC-8.2.2 hogs memory leading to out-of-memory when compiling benchmarks
9090 # So disable the benchmarks for this build.
9191 - 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]}}
9393
9494 # Use cabal-install-1.24 for stack solver to work
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]}}
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]}}
9797
9898 # You can keep a STACK_YAML file at any path location
9999 #- env: BUILD=stack STACK_YAML=.ci/stack-8.0.yaml
@@ -119,13 +119,16 @@ matrix:
119119 # Using stack builds, cabal builds get terminated because the tests
120120 # take more than 10 minutes and it does not produce any output until the end.
121121 - 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]}}
123123
124− - env: BUILD=stack RESOLVER=lts-12 GHCVER=8.4.4 GHC_OPTIONS="" STACK_BUILD_OPTIONS="--flag streamly:streamk"
125− addons: {apt: {packages: [cabal-install-2.2,ghc-8.4.4], sources: [hvr-ghc]}}
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.4,ghc-8.6.3], sources: [hvr-ghc]}}
126126
127− - env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
128− addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
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+
130+ #- env: BUILD=cabal-new GHCVER=head GHC_OPTIONS=""
131+ # addons: {apt: {packages: [cabal-install-head,ghc-head], sources: [hvr-ghc]}}
129132
130133 # You can specify build flags like this:
131134 #- env: BUILD=cabal-new CABAL_NEWBUILD_OPTIONS="--flags=dev"
@@ -135,8 +138,8 @@ matrix:
135138 # OS X builds
136139 # --------------------------------------------------------------------------
137140
138− # GHC 8.4/cabal build using stack!
139− - env: BUILD=cabal-new RESOLVER=lts-12 GHCVER=8.4 GHC_OPTIONS=""
141+ # GHC 8.6/cabal build using stack!
142+ - env: BUILD=cabal-new RESOLVER=lts-13 GHCVER=8.6 GHC_OPTIONS=""
140143 os: osx
141144
142145 # GHC 8.2.2/stack
@@ -147,7 +150,7 @@ matrix:
147150 # Lint e.g. HLINT_COMMANDS="hlint lint src; hlint lint test"
148151 # --------------------------------------------------------------------------
149152
150− - env: BUILD=stack RESOLVER=lts-11 HLINT_COMMANDS="hlint lint ."
153+ - env: BUILD=stack RESOLVER=lts-13 HLINT_COMMANDS="hlint lint ."
151154
152155 # --------------------------------------------------------------------------
153156 # Build and send coverage report to coveralls.io using hpc-coveralls
@@ -155,7 +158,7 @@ matrix:
155158 # For available options see hpc-coveralls docs.
156159 # --------------------------------------------------------------------------
157160
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
159162 # addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.2], sources: [hvr-ghc]}}
160163
161164 # --------------------------------------------------------------------------
docs/Build.md+6
@@ -2,3 +2,9 @@
22
33* Recommended compiler options are: `-O2 -fspec-constr-recursive=10`
44* 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
6969bug-reports: https://github.com/composewell/streamly/issues
7070license: BSD3
7171license-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
7376author: Harendra Kumar
7477maintainer: harendra.kumar@gmail.com
7578copyright: 2017 Harendra Kumar