[commit: ghc] wip/nfs-locking: Drop --setup, add --skip-configure. (7cb590a)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:58:08 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/7cb590a6ede9ccfe521e31a116767f46503945c8/ghc

>---------------------------------------------------------------

commit 7cb590a6ede9ccfe521e31a116767f46503945c8
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Thu May 5 01:37:48 2016 +0100

    Drop --setup, add --skip-configure.
    
    See #234. [skip ci]


>---------------------------------------------------------------

7cb590a6ede9ccfe521e31a116767f46503945c8
 README.md | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md
index d4adfb1..e0053b0 100644
--- a/README.md
+++ b/README.md
@@ -32,8 +32,6 @@ system to be in the `hadrian` directory of the GHC source tree:
     git clone --recursive git://git.haskell.org/ghc.git
     cd ghc
     git clone git://github.com/snowleopard/hadrian
-    ./boot
-    ./configure # On Windows run ./configure --enable-tarballs-autodownload
     ```
     
 * Build GHC using `hadrian/build.sh` or `hadrian/build.bat` (on Windows) instead
@@ -45,7 +43,7 @@ see [instructions for building GHC on Windows using Stack][windows-build].
 Using the build system
 ----------------------
 Once your first build is successful, simply run `build` to rebuild. Most build artefacts
-are placed into `.build` and `inplace` directories ([#113][build-artefacts-issue]).
+are placed into `_build` and `inplace` directories ([#113][build-artefacts-issue]).
 
 #### Command line flags
 
@@ -58,13 +56,17 @@ profiling, which speeds up builds by 3-4x).
 * `--progress-info=STYLE`: choose how build progress info is printed. There are four
 settings: `none`, `brief` (one line per build command), `normal` (typically a box per
 build command; this is the default setting), and `unicorn` (when `normal` just won't do).
-* `--setup[=CONFIGURE_ARGS]`: setup the build system by running the `configure` script 
-with `CONFIGURE_ARGS` arguments; also run the `boot` script to create the `configure`
-script if necessary. On Windows, download the required tarballs by executing
-`mk/get-win32-tarballs.sh` with appropriate parameters. You do not have to
-use this functionality of the new build system; feel free to run `boot` and `configure`
-scripts manually, as you do when using `make`. Beware: `--setup` uses network I/O 
-which may sometimes be undesirable.
+* `--skip-configure`: use this flag to suppress the default behaviour of Hadrian that
+runs the `boot` and `configure` scripts automatically if need be, so that you don't have
+to remember to run them manually. With `--skip-configure` you will need to manually run:
+
+    ```bash
+    ./boot
+    ./configure # On Windows run ./configure --enable-tarballs-autodownload
+    ```
+as you normally do when using `make`. Beware, by default Hadrian may do network I/O on
+Windows to download necessary tarballs, which may sometimes be undesirable; `--skip-configure`
+is your friend in such cases. 
 * `--split-objects`: generate split objects, which are switched off by default. Due to
 a GHC [bug][ghc-split-objs-bug], you need a full clean rebuild when using this flag.
 



More information about the ghc-commits mailing list