1. 23 Jan, 2011 1 commit
  2. 22 Jan, 2011 1 commit
    • Ian Lynagh's avatar
      Simplify the build system, and remove 2 phases · 295016c3
      Ian Lynagh authored
      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
          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. 
  3. 19 Jan, 2011 2 commits
  4. 17 Jan, 2011 1 commit
  5. 16 Jan, 2011 6 commits
  6. 15 Jan, 2011 1 commit
    • Ian Lynagh's avatar
      Build system improvements · a3be88fd
      Ian Lynagh authored
      We no longer use dummy-ghc; instead we don't configure most packages
      until the stage1 compiler is available.
      We also now use Cabal for building the ghc-bin package.
      There are a couple more sanity checks too.
  7. 06 Jan, 2011 1 commit
    • Ian Lynagh's avatar
      On Cygwin, use a Cygwin-style path for /bin/install's destination · 57e2a81c
      Ian Lynagh authored
      cygwin's /bin/install doesn't set file modes correctly if the
      destination path is a C: style path:
      $ /bin/install -c -m 644 foo /cygdrive/c/cygwin/home/ian/foo2
      $ /bin/install -c -m 644 foo c:/cygwin/home/ian/foo3
      $ ls -l foo*
      -rw-r--r-- 1 ian None 0 2011-01-06 18:28 foo
      -rw-r--r-- 1 ian None 0 2011-01-06 18:29 foo2
      -rwxrwxrwx 1 ian None 0 2011-01-06 18:29 foo3
      This causes problems for bindisttest/checkBinaries.sh which then
      thinks that e.g. the userguide HTML files are binaries.
      We therefore use a /cygdrive path if we are on cygwin
  8. 10 Dec, 2010 1 commit
  9. 05 Dec, 2010 1 commit
  10. 21 Nov, 2010 2 commits
  11. 17 Nov, 2010 1 commit
  12. 14 Nov, 2010 1 commit
  13. 03 Nov, 2010 2 commits
  14. 28 Oct, 2010 1 commit
    • Simon Marlow's avatar
      Remove duplicate PrimopWrappers generation · 5e578e12
      Simon Marlow authored
      We were generating PrimopWrappers.hs twice in two different places,
      one for the normal build and one for Haddock (I think).  Unfortunately
      one of these was causing extra rebuilding, because the file dropped
      into the dist-install/build/autogen directory, where it was picked up
      by the automatic HS_SRCS detection in subsequent make runs.  This was
      exposed by a recent change to HS_SRCS:
        Wed Oct 20 11:47:59 BST 2010  Ian Lynagh <igloo@earth.li>
          * Look for sources in Cabal's autogen directory too
      This should fix the stage3 failures in the build bots.
  15. 26 Oct, 2010 1 commit
  16. 23 Oct, 2010 1 commit
  17. 13 Oct, 2010 1 commit
  18. 12 Oct, 2010 1 commit
  19. 06 Oct, 2010 1 commit
  20. 25 Sep, 2010 1 commit
  21. 23 Sep, 2010 2 commits
  22. 24 Sep, 2010 1 commit
  23. 23 Sep, 2010 3 commits
    • Simon Marlow's avatar
      move CHECKED settings to the right place · b6fa4b36
      Simon Marlow authored
    • Simon Marlow's avatar
      Add primitive and vector packages for DPH support · a6132546
      Simon Marlow authored
      DPH is now using the public vector package instead of its internal
      vector and primitive are not "boot" packages; they aren't required to
      build GHC, but they are required to validate (because we include DPH
      when validating).
      If you say './darcs-all get --no-dph' then you don't get DPH, vector,
      or primitive.
    • Simon Marlow's avatar
      Refactoring and tidy up in the build system · 1c1ed869
      Simon Marlow authored
      Instead of the ghc-stage and ghc-stage2-package files in a package, we
      now have a list of these in ghc.mk.  There are other similar lists (of
      boot-packages and non-installable packages), so this is not too bad,
      and is simpler.
      While poking around in the top-level ghc.mk file I spotted various
      opportunities to clean up and re-order some of the cruft that has
      accumulated over time.
  24. 21 Sep, 2010 2 commits
  25. 20 Sep, 2010 1 commit
  26. 17 Sep, 2010 1 commit
  27. 03 Sep, 2010 1 commit
  28. 26 Aug, 2010 1 commit