... | ... | @@ -5,12 +5,10 @@ This is how to get started using [Homebrew](https://www.brew.sh/): |
|
|
1. Install Apple's command line tools
|
|
|
- Install the latest command line tools from [http://developer.apple.com/downloads](http://developer.apple.com/downloads) **or**
|
|
|
- Install XCode, launch XCode, open Preferences, select "Downloads" and install the command line tools
|
|
|
1. `brew install autoconf automake python`.
|
|
|
1. Run `brew install autoconf automake python`.
|
|
|
1. Install a recent GHC version using your method of choice (e.g. [ghcup](https://www.haskell.org/ghcup/))
|
|
|
1. Install GHC's build dependencies:
|
|
|
- `cabal update; cabal install alex happy haddock`
|
|
|
1. Install tools for building the docs:
|
|
|
- `pip3 install -U sphinx`
|
|
|
1. Install GHC's build dependencies: `cabal update; cabal install alex happy haddock`
|
|
|
1. Install tools for building the docs: `pip3 install -U sphinx`
|
|
|
1. If you want to build the PDF users guide you will need a `xelatex` installation (e.g. from [MacTeX](https://www.tug.org/mactex/)) and the [Dejavu](https://www.fontsquirrel.com/fonts/list/foundry/dejavu-fonts) font family.
|
|
|
|
|
|
At this point you have everything necessary to build GHC. To do so, run the following:
|
... | ... | |