You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+34-8Lines changed: 34 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -154,20 +154,20 @@ You can install an specific version or [all available GHC versions](#install-all
154
154
155
155
#### Install a specific GHC version 8.2.1 - 8.6.3
156
156
157
-
We will use the `shake` tools here to wrap `stack install`. The preferred installation mechanism is via `./Shakefile.hs`, as it makes sure the repo is synced, installs the required cabal libraries if missing, and makes copies of the executables with suffixes to be able to tell them apart.
157
+
We will use the `make` tools here to wrap `stack install`. The preferred installation mechanism is via `make`, as it makes sure the repo is synced, installs the required cabal libraries if missing, and makes copies of the executables with suffixes to be able to tell them apart.
158
158
159
159
Install **Nightly** (and hoogle docs):
160
160
161
161
```bash
162
-
./Shakefile.hs hie-8.6.3
163
-
./Shakefile.hs build-doc-8.6.3
162
+
make hie-8.6.3
163
+
make build-doc-8.6.3
164
164
```
165
165
166
166
Install **LTS** (and hoogle docs):
167
167
168
168
```bash
169
-
./Shakefile.hs hie-8.4.4
170
-
./Shakefile.hs build-doc-8.4.4
169
+
make hie-8.4.4
170
+
make build-doc-8.4.4
171
171
```
172
172
173
173
This step can take more than 30 minutes, so grab a coffee and please be patient!
@@ -200,10 +200,10 @@ This will:
200
200
* name them as expected by the VS Code plugin
201
201
* build local hoogle docs for each version
202
202
203
-
For this you need the `shake` tool. Use the command:
203
+
For this you need the `make` tool (on Windows, see the further advice below). Use the command:
204
204
205
205
```bash
206
-
./Shakefile.hs build-all
206
+
make build-all
207
207
```
208
208
209
209
Then add
@@ -234,6 +234,32 @@ stack install cabal-install
234
234
cabal update
235
235
```
236
236
237
+
#### Install *all* available GHC versions
238
+
239
+
*Warning*: Requires 20+ GB of space and potentially more than 2 hours to install, so please be patient!
240
+
241
+
This will:
242
+
243
+
* install all supported GHC versions (8.2.1 - 8.6.3)
244
+
* name them as expected by the VS Code plugin
245
+
* build local hoogle docs for each version
246
+
247
+
`make` doesn't work on Windows due to several UNIX-specific things, such
248
+
as the `cp` command or extensionless executable names. Instead, a PowerShell
0 commit comments