... | ... | @@ -483,24 +483,6 @@ you could also cut-and-paste the command-line to add flags, but sometimes the `E |
|
|
|
|
|
## Fast rebuilding
|
|
|
|
|
|
|
|
|
There are 4 things to remember:
|
|
|
|
|
|
1. Select `BuildFlavour = devel2` in your `build.mk` file, to
|
|
|
[make GHC build quickly](building/using#how-to-make-ghc-build-quickly).
|
|
|
|
|
|
1. Don't run `make` directly in the ghc root directory. Instead, first
|
|
|
change to the directory where you're making your changes.
|
|
|
See [Building a single sub-component](building/using#).
|
|
|
|
|
|
1. Set `stage=2` in your `build.mk` file, to
|
|
|
[freeze the stage 1 compiler](building/using#freezing-stage-1),
|
|
|
and only rebuild the stage 2 compiler from now on
|
|
|
(see [here](building/architecture/idiom/stages) about stages).
|
|
|
|
|
|
1. Use `make fast` to
|
|
|
[skip dependency building](building/using#skip-dependency-building).
|
|
|
|
|
|
### How to make GHC build quickly
|
|
|
|
|
|
|
... | ... | |