[commit: ghc] master: Remove the git clone step, preparing for the merge (882c4a6)
git at git.haskell.org
git at git.haskell.org
Tue Oct 23 20:11:07 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/882c4a602ae7177435730df50648e5de1337231b/ghc
>---------------------------------------------------------------
commit 882c4a602ae7177435730df50648e5de1337231b
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sat Nov 4 00:04:47 2017 +0000
Remove the git clone step, preparing for the merge
See #440
[skip ci]
>---------------------------------------------------------------
882c4a602ae7177435730df50648e5de1337231b
README.md | 43 ++++++++++++++++++++++---------------------
1 file changed, 22 insertions(+), 21 deletions(-)
diff --git a/README.md b/README.md
index 90db95a..56e6af7 100644
--- a/README.md
+++ b/README.md
@@ -16,34 +16,35 @@ e.g. the resulting GHC is `inplace/bin/ghc-stage2`.
Your first build
----------------
-Beware, the build system is in the alpha development phase. Things are shaky and often
+Beware, the build system is in the alpha development phase. Things are shaky and sometimes
break; there are numerous [known issues][issues]. Not afraid? Then put on the helmet and
-follow these steps:
+run the following command from root of the GHC tree:
-* If you have never built GHC before, start with the [preparation guide][ghc-preparation].
+```
+hadrian/build.sh -j
+```
-* Hadrian is written in Haskell and depends on the following
-packages: `ansi-terminal extra mtl quickcheck shake`.
+or on Windows:
-* Get the sources. It is important for the build system to be in the `hadrian` directory
-of the GHC source tree:
+```
+hadrian/build.bat -j
+```
- ```bash
- git clone --recursive git://git.haskell.org/ghc.git
- cd ghc
- git clone git://github.com/snowleopard/hadrian
- ```
+Here flag `-j` enables parallelism and is optional. We will further refer to the build script
+simply as `build`. Note that Hadrian runs the `boot` and `configure` scripts automatically when
+needed. Use `--skip-configure` to suppress this behaviour (see the overview of command line
+flags below).
-* Build GHC using `hadrian/build.sh` or `hadrian/build.bat` (on Windows) instead
-of `make`. You might want to enable parallelism with `-j`. We will further refer to the
-build script simply as `build`. Note that Hadrian runs the `boot` and `configure`
-scripts automatically when needed. Use `--skip-configure` to suppress this behaviour
-(see overview of command line flags below).
+Notes:
-* If the default build script doesn't work, you might want to give a try to a more
-specific one based on Cabal sandboxes (`build.cabal.sh`), Stack (`build.stack.bat`)
-or the global package database (`build.global-db.sh`). Also
-see [instructions for building GHC on Windows using Stack][windows-build].
+* If the default build script doesn't work, you might want to give a try to another one, e.g. based
+on Cabal sandboxes (`build.cabal.*`), Stack (`build.stack.*`) or the global package database
+(`build.global-db.*`). Also see [instructions for building GHC on Windows using Stack][windows-build].
+
+* Hadrian is written in Haskell and depends on the following packages:
+`ansi-terminal extra mtl quickcheck shake`.
+
+* If you have never built GHC before, start with the [preparation guide][ghc-preparation].
Using the build system
----------------------
More information about the ghc-commits
mailing list