... | ... | @@ -10,7 +10,7 @@ If you are familiar with docker, this is a 1 step install for a development imag |
|
|
First cd into your ghc directory that you checkout according to [Building/GettingTheSources](building/getting-the-sources)
|
|
|
|
|
|
```wiki
|
|
|
docker run --rm -i -t -v `pwd`:/home/ghc gregweber/ghc-haskell-dev /bin/bash
|
|
|
docker run --rm -i -t -v `pwd`:/home/ghc gregweber/ghc-haskell-dev /bin/bash
|
|
|
```
|
|
|
|
|
|
|
... | ... | @@ -68,20 +68,21 @@ You can make sure you have all dependencies by |
|
|
```
|
|
|
|
|
|
|
|
|
But this might install some packages you do not use in your system (e.g. `java`, `docbook`, `xsltproc`). Alternatively install the following:
|
|
|
But this might install some packages you do not use in your system (e.g. Sphinx). Alternatively install the following:
|
|
|
|
|
|
```wiki
|
|
|
sudo apt-get install haskell-platform git autoconf automake libtool make libgmp-dev ncurses-dev g++ python3 bzip2
|
|
|
sudo apt-get install git autoconf automake libtool make gcc g++ \
|
|
|
libgmp-dev ncurses-dev libtinfo-dev python3 xz-utils
|
|
|
```
|
|
|
|
|
|
|
|
|
(`ncurses-dev` is needed by the `terminfo` package, and `g++` is needed by a couple of tests, `ghcilink003` and `ghcilink006`).
|
|
|
|
|
|
|
|
|
Optional: install llvm from [ http://apt.llvm.org](http://apt.llvm.org) (only necessary to make the `-fllvm` flag work). [Commentary/Compiler/Backends/LLVM/Installing](commentary/compiler/backends/llvm/installing#llvm-support) will tell you which version to install.
|
|
|
Optional: install LLVM from \<[ http://apt.llvm.org](http://apt.llvm.org)\> (only necessary to make the `-fllvm` flag work). [Commentary/Compiler/Backends/LLVM/Installing](commentary/compiler/backends/llvm/installing#llvm-support) will tell you which version to install.
|
|
|
|
|
|
|
|
|
Due to the nature of Debian, you may have difficulty building GHC \>7.6 due to version incompatibilities with the Happy and Alex packages. To alleviate this issue simply install both packages using the haskell-platform provided cabal.
|
|
|
Due to the nature of Debian, you may have difficulty building GHC \>7.6 due to version incompatibilities with the Happy and Alex packages. To alleviate this issue simply install both packages using the `haskell-platform` provided `cabal`.
|
|
|
|
|
|
```wiki
|
|
|
cabal install alex happy
|
... | ... | @@ -110,11 +111,6 @@ The package `linux-tools` includes `perf`, see [Debugging/LowLevelProfiling/Perf |
|
|
|
|
|
For [validating patches](testing-patches) :
|
|
|
|
|
|
```wiki
|
|
|
# GHC >= 8.2:
|
|
|
sudo apt-get install python3
|
|
|
```
|
|
|
|
|
|
## Arch
|
|
|
|
|
|
|
... | ... | |