1. 30 Jan, 2012 1 commit
  2. 19 Nov, 2011 1 commit
    • Ian Lynagh's avatar
      Improve the way we call "rm" in the build system; fixes trac #4916 · 80e9070c
      Ian Lynagh authored
      We avoid calling "rm -rf" with no file arguments; this fixes cleaning
      on Solaris, where that fails.
      
      We also check for suspicious arguments: anything containing "..",
      starting "/", or containing a "*" (you need to call $(wildcard ...)
      yourself now if you really want globbing). This should make things
      a little safer.
      80e9070c
  3. 16 Sep, 2011 1 commit
    • Simon Marlow's avatar
      Add some missing dependencies; should fix make after re-configure · 493146ac
      Simon Marlow authored
      Every Haskell compilation in a package should depend on the
      package-data.mk file for that package.  Then, if a package's version
      number is bumped, we will recompile all the modules in the package so
      that their interface files get the new version number.
      
      This should mean that a simple 'make' will succeed in a couple of
      scenarios where it didn't before:
      
        1. re-configuring bumps the version number of GHC, so everything
           in the ghc package (stages 1 & 2) must be recompiled.
      
        2. bumping the version of one of the boot packages does not require
           a make clean any more.
      
      I have tested (1) but not (2).
      
      LAX_DEPENDENCIES=YES disabled these new dependencies too.
      493146ac
  4. 23 Jun, 2011 1 commit
  5. 14 Apr, 2011 1 commit
  6. 07 Feb, 2011 1 commit
  7. 23 Jan, 2011 1 commit
  8. 22 Jan, 2011 1 commit
    • Ian Lynagh's avatar
      Simplify the build system, and remove 2 phases · 295016c3
      Ian Lynagh authored
      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. 
      295016c3
  9. 19 Jan, 2011 2 commits
  10. 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.
      a3be88fd
  11. 23 Sep, 2010 1 commit
    • 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.
      1c1ed869
  12. 21 Sep, 2010 1 commit
  13. 03 Sep, 2010 1 commit
  14. 09 May, 2010 1 commit
  15. 08 May, 2010 1 commit
  16. 04 May, 2010 1 commit
  17. 24 Apr, 2010 1 commit
  18. 19 Jan, 2010 1 commit
  19. 09 Dec, 2009 1 commit
  20. 11 Sep, 2009 1 commit
  21. 09 Sep, 2009 1 commit
  22. 11 Aug, 2009 1 commit
  23. 27 Jul, 2009 1 commit
  24. 25 Jun, 2009 1 commit
  25. 24 Jun, 2009 1 commit
  26. 11 Jun, 2009 2 commits
  27. 30 May, 2009 2 commits
  28. 29 May, 2009 1 commit
  29. 16 May, 2009 1 commit
    • Ian Lynagh's avatar
      Tweak bindist creation · 7f65bf79
      Ian Lynagh authored
      libraries built by stage2 need all their bits in the bindist too.
      We were testing (stage == 1) rather than (stage /= 0).
      7f65bf79
  30. 15 May, 2009 1 commit
  31. 08 May, 2009 1 commit
  32. 29 Apr, 2009 1 commit
  33. 28 Apr, 2009 2 commits
  34. 26 Apr, 2009 1 commit