Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 8e4da98

Browse files
committed
Bring in GHC 8.6.2 stack files and makefile targets
1 parent bbf203a commit 8e4da98

9 files changed

+101
-8
lines changed

Makefile

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ all: help
55
.PHONY: all
66

77
## Builds hie for all supported GHC versions (8.2.1, 8.2.2, 8.4.2 and 8.4.3, 8.4.4)
8-
build: hie-8.2.1 hie-8.2.2 hie-8.4.2 hie-8.4.3 hie-8.4.4
8+
build: hie-8.2.1 hie-8.2.2 \
9+
hie-8.4.2 hie-8.4.3 hie-8.4.4 \
10+
hie-8.6.1 hie-8.6.2
911
.PHONY: build
1012

1113
## Builds hie and hoogle databases for all supported GHC versions
@@ -56,6 +58,22 @@ hie-8.4.4: submodules
5658
&& cp '$(STACKLOCALBINDIR)/hie-8.4.4' '$(STACKLOCALBINDIR)/hie-8.4'
5759
.PHONY: hie-8.4.4
5860

61+
## Builds hie for GHC version 8.6.1 only
62+
hie-8.6.1: submodules
63+
stack --stack-yaml=stack-8.6.1.yaml build
64+
stack --stack-yaml=stack-8.6.1.yaml install \
65+
&& cp '$(STACKLOCALBINDIR)/hie' '$(STACKLOCALBINDIR)/hie-8.6.1' \
66+
&& cp '$(STACKLOCALBINDIR)/hie-8.6.1' '$(STACKLOCALBINDIR)/hie-8.4'
67+
.PHONY: hie-8.6.1
68+
69+
## Builds hie for GHC version 8.6.2 only
70+
hie-8.6.2: submodules
71+
stack --stack-yaml=stack-8.6.2.yaml build
72+
stack --stack-yaml=stack-8.6.2.yaml install \
73+
&& cp '$(STACKLOCALBINDIR)/hie' '$(STACKLOCALBINDIR)/hie-8.6.2' \
74+
&& cp '$(STACKLOCALBINDIR)/hie-8.6.2' '$(STACKLOCALBINDIR)/hie-8.4'
75+
.PHONY: hie-8.6.2
76+
5977
# ------------------------------------------------------
6078

6179
## Updates local git submodules
@@ -70,6 +88,8 @@ build-docs:
7088
&& stack --stack-yaml=stack-8.4.2.yaml exec hoogle generate \
7189
&& stack --stack-yaml=stack-8.4.3.yaml exec hoogle generate \
7290
&& stack --stack-yaml=stack-8.4.4.yaml exec hoogle generate
91+
&& stack --stack-yaml=stack-8.6.1.yaml exec hoogle generate
92+
&& stack --stack-yaml=stack-8.6.2.yaml exec hoogle generate
7393
.PHONY: build-docs
7494

7595

@@ -82,6 +102,8 @@ test: submodules
82102
&& stack --stack-yaml=stack-8.4.2.yaml test \
83103
&& stack --stack-yaml=stack-8.4.3.yaml test \
84104
&& stack --stack-yaml=stack-8.4.4.yaml test
105+
&& stack --stack-yaml=stack-8.6.1.yaml test
106+
&& stack --stack-yaml=stack-8.6.2.yaml test
85107
.PHONY: test
86108

87109
build-copy-compiler-tool: submodules
@@ -90,6 +112,8 @@ build-copy-compiler-tool: submodules
90112
&& stack --stack-yaml=stack-8.4.2.yaml build --copy-compiler-tool \
91113
&& stack --stack-yaml=stack-8.4.3.yaml build --copy-compiler-tool \
92114
&& stack --stack-yaml=stack-8.4.4.yaml build --copy-compiler-tool
115+
&& stack --stack-yaml=stack-8.6.1.yaml build --copy-compiler-tool
116+
&& stack --stack-yaml=stack-8.6.2.yaml build --copy-compiler-tool
93117
.PHONY: build-copy-compiler-tool
94118

95119
## Fixes icu related problems in MacOS
@@ -114,6 +138,12 @@ icu-macos-fix-build:
114138
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
115139
--extra-include-dirs=/usr/local/opt/icu4c/include \
116140
&& stack --stack-yaml=stack-8.4.4.yaml build text-icu \
141+
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
142+
--extra-include-dirs=/usr/local/opt/icu4c/include \
143+
&& stack --stack-yaml=stack-8.6.1.yaml build text-icu \
144+
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
145+
--extra-include-dirs=/usr/local/opt/icu4c/include \
146+
&& stack --stack-yaml=stack-8.6.2.yaml build text-icu \
117147
--extra-lib-dirs=/usr/local/opt/icu4c/lib \
118148
--extra-include-dirs=/usr/local/opt/icu4c/include
119149
.PHONY: icu-macos-fix-build

stack-8.2.1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extra-deps:
2222
- haskell-lsp-types-0.8.0.1
2323
- hlint-2.0.11
2424
- hsimport-0.8.6
25-
- lsp-test-0.4.0.0
25+
- lsp-test-0.5.0.1
2626
- pretty-show-1.8.2
2727
- sorted-list-0.2.1.0
2828
- syz-0.2.0.0

stack-8.2.2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extra-deps:
2222
- haskell-lsp-0.8.0.1
2323
- haskell-lsp-types-0.8.0.1
2424
- hsimport-0.8.6
25-
- lsp-test-0.4.0.0
25+
- lsp-test-0.5.0.1
2626
- pretty-show-1.8.2
2727
- sorted-list-0.2.1.0
2828
- syz-0.2.0.0

stack-8.4.2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extra-deps:
2121
- haskell-lsp-types-0.8.0.1
2222
- hlint-2.1.8
2323
- hsimport-0.8.6
24-
- lsp-test-0.4.0.0
24+
- lsp-test-0.5.0.1
2525
- pretty-show-1.8.2
2626
- syz-0.2.0.0
2727
- temporary-1.2.1.1

stack-8.4.3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extra-deps:
1919
- haskell-lsp-0.8.0.1
2020
- haskell-lsp-types-0.8.0.1
2121
- hsimport-0.8.6
22-
- lsp-test-0.4.0.0
22+
- lsp-test-0.5.0.1
2323
- pretty-show-1.8.2
2424
- syz-0.2.0.0
2525
- temporary-1.2.1.1

stack-8.4.4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extra-deps:
1919
- haskell-lsp-0.8.0.1
2020
- haskell-lsp-types-0.8.0.1
2121
- hsimport-0.8.6
22-
- lsp-test-0.4.0.0
22+
- lsp-test-0.5.0.1
2323
- pretty-show-1.8.2
2424
- syz-0.2.0.0
2525
- temporary-1.2.1.1

stack-8.6.1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ extra-deps:
2727
- haskell-lsp-0.8.0.1
2828
- haskell-lsp-types-0.8.0.1
2929
- hsimport-0.8.6
30-
- lsp-test-0.5.0.0
30+
- lsp-test-0.5.0.1
3131
- monad-memo-0.4.1
3232
- monoid-subclasses-0.4.6.1
3333
- multistate-0.8.0.1

stack-8.6.2.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
resolver: nightly-2018-11-13 # GHC 8.6.2
2+
packages:
3+
- .
4+
- hie-plugin-api
5+
6+
extra-deps:
7+
- ./submodules/HaRe
8+
- ./submodules/brittany
9+
- ./submodules/cabal-helper
10+
- ./submodules/ghc-mod
11+
- ./submodules/ghc-mod/core
12+
13+
- apply-refact-0.6.0.0
14+
- butcher-1.3.2.1
15+
- cabal-install-2.4.0.0
16+
- cabal-plan-0.4.0.0
17+
- constrained-dynamic-0.1.0.0
18+
- cryptohash-sha256-0.11.101.0
19+
- czipwith-1.0.1.1
20+
- data-tree-print-0.1.0.2
21+
- ed25519-0.0.5.0
22+
- ekg-core-0.1.1.4
23+
- ekg-json-0.1.0.6
24+
- ekg-wai-0.1.0.3
25+
- hackage-security-0.5.3.0
26+
- haddock-api-2.21.0
27+
- haskell-lsp-0.8.0.1
28+
- haskell-lsp-types-0.8.0.1
29+
- hsimport-0.8.6
30+
- lsp-test-0.5.0.1
31+
- monad-memo-0.4.1
32+
- monoid-subclasses-0.4.6.1
33+
- multistate-0.8.0.1
34+
- primes-0.2.1.0
35+
- resolv-0.1.1.2
36+
- syz-0.2.0.0
37+
- temporary-1.2.1.1
38+
- yaml-0.8.32
39+
40+
41+
42+
flags:
43+
haskell-ide-engine:
44+
pedantic: true
45+
hie-plugin-api:
46+
pedantic: true
47+
# ekg-core:
48+
# allow-newer: true
49+
# ekg-json:
50+
# allow-newer: true
51+
# ekg-wai:
52+
# allow-newer: true
53+
# base:
54+
# allow-newer: true
55+
# process:
56+
# allow-newer: true
57+
58+
allow-newer: true
59+
60+
nix:
61+
packages: [ icu libcxx zlib ]
62+
63+
concurrent-tests: false

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extra-deps:
2121
- haskell-lsp-0.8.0.1
2222
- haskell-lsp-types-0.8.0.1
2323
- hsimport-0.8.6
24-
- lsp-test-0.4.0.0
24+
- lsp-test-0.5.0.1
2525
- monad-memo-0.4.1
2626
- pretty-show-1.8.2
2727
- semigroupoids-5.2.2

0 commit comments

Comments
 (0)