diff options
author | Andrey Mokhov <andrey.mokhov@gmail.com> | 2021-12-11 23:48:24 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-12-12 09:11:20 -0500 |
commit | 93783e6a8765e1410d0a14fd5249a995c6759308 (patch) | |
tree | e6d85781f873b0df6866491e3da5e64502d8ac5e /hadrian/README.md | |
parent | f04d1a4935beda0144a7b830589ab214d785d592 (diff) | |
download | haskell-93783e6a8765e1410d0a14fd5249a995c6759308.tar.gz |
Drop --configure from Hadrian docs
Diffstat (limited to 'hadrian/README.md')
-rw-r--r-- | hadrian/README.md | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/hadrian/README.md b/hadrian/README.md index 20020c3b92..a815039e7f 100644 --- a/hadrian/README.md +++ b/hadrian/README.md @@ -32,9 +32,7 @@ hadrian/build.bat -j ``` Here flag `-j` enables parallelism and is optional. We will further refer to the -build script simply as `build`. Note that Hadrian can also run the `boot` and -`configure` scripts automatically for you if you pass the flag `--configure`, -or simply `-c`. See the overview of command line flags below. +build script simply as `build`. Notes: @@ -78,16 +76,6 @@ for GHC developers who want to build GHC in different ways or at different commits, from the same source directory, and have the build products sit in different, isolated folders. -* `--configure` or `-c`: use this flag to run the `boot` and `configure` scripts -automatically, so that you don't have to remember to run them manually as you -normally do when using Make (typically only in the first build): - ```bash - ./boot - ./configure # On Windows run ./configure --enable-tarballs-autodownload - ``` - Beware that with this flag Hadrian may do network I/O on Windows to download - necessary tarballs, which may sometimes be undesirable. - * `--flavour=FLAVOUR`: choose a build flavour. The following settings are currently supported: `default`, `quick`, `quickest`, `perf`, `prof`, `devel1` and `devel2`. As an example, the `quickest` flavour adds `-O0` flag to all GHC @@ -227,7 +215,7 @@ you can tell hadrian to build the compiler and also run the linters: * `build clean` removes all build artefacts. * `build distclean` additionally remove the mingw tarballs and fs* files created - by configure. + by `configure`. * `build -B` forces Shake to rerun all rules, even if the previous build results are still up-to-date. @@ -339,15 +327,6 @@ Troubleshooting Here are a few simple suggestions that might help you fix the build: -* If Hadrian fails with the message - `Configuration file hadrian/cfg/system.config is missing`, you have probably - forgotten to pass the `--configure` flag during the first build. - -* With the `--configure` (`-c`) flag, Hadrian sometimes fetches a wrong - Happy saying something like: `HappyTemplate-arrays-coerce: openFile: does not exist` - (as mentioned [here](https://github.com/haskell/cabal/issues/5867)), in - which case you might be better off running `./configure` manually before Hadrian. - * The call to `build test` sometimes fails with `libCffi_p.a: copyFile: does not exist` (as noticed [here](https://gitlab.haskell.org/ghc/ghc/issues/15877#note_166739)). |