Commit 6dd9e1fb authored by Simon Marlow's avatar Simon Marlow
Browse files

update build order comment

parent 296058a1
...@@ -67,27 +67,31 @@ ...@@ -67,27 +67,31 @@
# make show VALUE=VAR prints the value of VAR # make show VALUE=VAR prints the value of VAR
# $(warning stuff) prints stuff when reading the makefile # $(warning stuff) prints stuff when reading the makefile
# BUILD ORDER # Approximate build order.
#
# The actual build order is defined by dependencies, and the phase
# ordering used to ensure correct ordering of makefile-generation; see
# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture/Idiom/PhaseOrdering
# #
# * With bootstrapping compiler: # * With bootstrapping compiler:
# o Build libraries/{hpc,extensible-exceptions,Cabal}
# o Build utils/ghc-pkg
# o Build utils/ghc-cabal # o Build utils/ghc-cabal
# * With bootstrapping compiler and ghc-cabal: # o Build utils/ghc-pkg
# o Build utils/hsc2hs # o Build utils/hsc2hs
# o Build libraries/hpc
# o Build compiler (stage 1)
# * For each package: # * For each package:
# o generate package-data.mk and inplace-pkg-info # o configure, generate package-data.mk and inplace-pkg-info
# o register each package into inplace/lib/package.conf # o register each package into inplace/lib/package.conf
# o generate .depend for each package # * build libffi
# * With bootstrapping compiler:
# o Build libraries/{filepath,hpc,extensible-exceptions,Cabal}
# o Build compiler (stage 1)
# * With stage 1: # * With stage 1:
# o Build libraries/* # o Build libraries/*
# o Build rts
# o Build utils/* (except haddock) # o Build utils/* (except haddock)
# o Build compiler (stage 2) # o Build compiler (stage 2)
# * With stage 2: # * With stage 2:
# o Build utils/haddock # o Build utils/haddock
# o Build compiler (stage 3) # o Build compiler (stage 3) (optional)
# * With haddock: # * With haddock:
# o libraries/* # o libraries/*
# o compiler # o compiler
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment