Sat Jan 22 11:09:28 PST 2011  Ian Lynagh <[email protected]>
  * Simplify the build system, and remove 2 phases
  From
      
http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture/Idiom/PhaseOrdering
  
  Phase 0:
      Includes: package-data.mk files for things built by the
                bootstrapping compiler.
      Builds:   the dependency files for hsc2hs and genprimopcode. We need
                to do this now, as hsc2hs needs to be buildable in phase 1's
                includes (so that we can make the hpc library's .hs source
                files, which in turn is necessary for making its dependency
                files), and genprimopcode needs to be buildable in phase 1's
                includes (so that we can make the primop-*.hs-incl files,
                which are sources for the stage1 compiler library, and thus
                necessary for making its dependency files).
  Phase 1:
      Includes: dependency files for things built by the bootstrapping
                compiler.
      Builds:   package-data.mk files for everything else. Note that this
                requires configuring the packages, which means telling cabal
                which ghc to use, and thus the stage1 compiler gets built
                during this phase. 
  Phase "":
      Includes: dependency files for everything else.
      Builds:   Everything else. 

    M ./Makefile -10 +2
    M ./ghc.mk -65 +13
    M ./rules/build-dependencies.mk -16
    M ./rules/build-package-data.mk +4
    M ./rules/build-package.mk -71 +40
    M ./rules/build-perl.mk -2
    M ./rules/build-prog.mk -62 +20
    M ./rules/c-suffix-rules.mk +4
    M ./rules/hs-suffix-rules-srcdir.mk +4
    M ./rules/hs-suffix-rules.mk +2
    A ./rules/include-dependencies.mk

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110122190928-3fd76-d8d93e442038c169ba3f28ae3f77604b30c2935e.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to