... | ... | @@ -123,16 +123,15 @@ Finally, clone, configure, and build GHC (see [Newcomers](newcomers) for details |
|
|
```wiki
|
|
|
git clone --recursive https://github.com/ghc/ghc
|
|
|
cd ghc/
|
|
|
# TODO: The Nix recipe overwrites build.mk. Find a way to configure build,
|
|
|
# so the following is possible:
|
|
|
# cd mk
|
|
|
# cp build.mk.sample build.mk
|
|
|
# edit build.mk to remove the comment marker # on the line "BuildFlavour = quick"
|
|
|
# cd ..
|
|
|
./sync-all get
|
|
|
patchShebangs .
|
|
|
./boot
|
|
|
configurePhase
|
|
|
# configurePhase of the Nix recipe overwrites build.mk, so we change it afterwards.
|
|
|
cd mk
|
|
|
cp build.mk.sample build.mk
|
|
|
# edit build.mk to remove the comment marker # on the line "BuildFlavour = quick"
|
|
|
cd ..
|
|
|
buildPhase
|
|
|
# edit build.mk to remove the comment marker # on the line stage=2
|
|
|
``` |
|
|
\ No newline at end of file |