From b0641ad9009df1e3f4eae4274668840ff6e46732 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Thu, 14 Jan 2016 11:33:09 +0100 Subject: INSTALL.md: Mention -j and other wibbles --- INSTALL.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'INSTALL.md') diff --git a/INSTALL.md b/INSTALL.md index 34bb5b45b7..3ae9186874 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -8,13 +8,13 @@ has all the answers. Before building GHC you may need to install some other tools and libraries. See "Setting up your system for building GHC" [2]. -NB. in particular you need GHC installed in order to build GHC, +N.B. in particular you need GHC installed in order to build GHC, because the compiler is itself written in Haskell. For instructions on how to port GHC to a new platform, see the Building Guide [1]. For building library documentation, you'll need Haddock [3]. To build the compiler documentation, you need [Sphinx](http://www.sphinx-doc.org/) and -Xelatex (only for PDF output). +XeLaTex (only for PDF output). Quick start: the following gives you a default build: @@ -28,7 +28,10 @@ Quick start: the following gives you a default build: $ ./configure --enable-tarballs-autodownload -The "perl boot" step is only necessary if this is a tree checked out +You can use Make's `-jN` option to parallelize the build. It's generally best +to set `N` somewhere around the core count of the build machine. + +The `perl boot` step is only necessary if this is a tree checked out from git. For source distributions downloaded from GHC's web site, this step has already been performed. -- cgit v1.2.1