1. 26 Sep, 2012 1 commit
  2. 24 Jul, 2012 2 commits
  3. 18 Jul, 2012 1 commit
  4. 29 Jun, 2012 1 commit
  5. 07 Jun, 2012 1 commit
  6. 19 May, 2012 1 commit
  7. 15 May, 2012 1 commit
    • pcapriotti's avatar
      Rename package-conf flags to package-db. · ca2debb2
      pcapriotti authored
      Rename package database flags in both GHC and ghc-pkg so that they are
      consistent with Cabal nomenclature.
      
      Add a version check to the build system so that the correct set of
      package db flags are used when the bootstrapping GHC has version < 7.5.
      ca2debb2
  8. 07 May, 2012 1 commit
  9. 06 May, 2012 1 commit
    • Ian Lynagh's avatar
      Fix the way we call strip on DLLs · 9949db0a
      Ian Lynagh authored
      On Win64, "install -s" calls a strip that doesn't understand 64bit
      binaries. For some reason, this means the DLLs end up non-executable,
      which means executables that use them just segfault.
      9949db0a
  10. 05 May, 2012 1 commit
  11. 27 Apr, 2012 1 commit
    • Iavor S. Diatchki's avatar
      A build-system tweak for more readable build output. · d209588a
      Iavor S. Diatchki authored
      This change reduces the (default) verbosity of the build system.
      This makes it easier to spot warnings in the output and, also, it
      makes it easier to estimate how far along are we in the build process
      by just glancing at the output.
      
      To get the traditional fully verbose output, set V=1, like this:
      
          make V=1
      d209588a
  12. 25 Apr, 2012 1 commit
  13. 27 Feb, 2012 1 commit
  14. 22 Feb, 2012 1 commit
  15. 21 Feb, 2012 1 commit
  16. 14 Feb, 2012 1 commit
  17. 30 Jan, 2012 1 commit
  18. 18 Jan, 2012 1 commit
    • Ian Lynagh's avatar
      Rename the testsuite tarball · a12c8a00
      Ian Lynagh authored
      It's now
          ghc-<version>-testsuite.tar.bz2
      rather than
          testsuite-ghc-<version>-src.tar.bz2
      which (a) makes more sense, and (b) sorts better in directory listings.
      a12c8a00
  19. 13 Jan, 2012 1 commit
  20. 11 Jan, 2012 2 commits
    • Ian Lynagh's avatar
      Clean more files in "make clean" · a83b02ad
      Ian Lynagh authored
      The libraries get configured during "make", so plain old "make clean"
      should clean up the configure droppings.
      
      Also fixed another wildcard/patsubst problem.
      a83b02ad
    • Ian Lynagh's avatar
      Fix cleaning buildinfo files · ce545f0d
      Ian Lynagh authored
      We were applying $(wildcard ...) to the literal string
      libraries/%/*.buildinfo, which of course had no matches.
      ce545f0d
  21. 08 Jan, 2012 2 commits
  22. 02 Jan, 2012 1 commit
    • Ian Lynagh's avatar
      Fix typo in Makefile · dc6f3a48
      Ian Lynagh authored
      sdist output was being redirected to $src_log, which presumably
      evaluated to rc_log.
      dc6f3a48
  23. 08 Dec, 2011 1 commit
    • PHO's avatar
      Resurrect UseLibFFIForAdjustors from bitrot. · 616b6697
      PHO authored
      * Pass -Irts/dist/build to the C preprocessor to expose libffi headers (ffi.h and ffitarget.h) to foreign import wrappers during the building process of GHC itself.
      * Install libffi headers into $(ghcheaderdir) just like any other C headers. Otherwise an installed GHC can't find them when it wants to compile foreign import wrappers.
      * Include libffi headers in the bindist for the same reason.
      616b6697
  24. 04 Dec, 2011 1 commit
  25. 02 Dec, 2011 4 commits
    • Ian Lynagh's avatar
      9fd5a2ca
    • Ian Lynagh's avatar
      Fix header installation · 11a614ff
      Ian Lynagh authored
      11a614ff
    • Ian Lynagh's avatar
      MAKE_RESTARTS should never be higher than 1 · 1c400aa9
      Ian Lynagh authored
      1c400aa9
    • Ian Lynagh's avatar
      Use touchy rather than touch when building on Windows · 2694bb74
      Ian Lynagh authored
      With Windows 7 in a vitrual box VM on OS X, some very odd things happen
      with dates and time stamps when SSHing into cygwin. e.g. here the
      "Change" time is in the past:
      
      $ date; touch foo; stat foo
      Fri Dec  2 16:58:07 GMTST 2011
        File: `foo'
        Size: 0               Blocks: 0          IO Block: 65536  regular
      empty file
      Device: 540aba0bh/1409989131d   Inode: 562949953592977  Links: 1
      Access: (0644/-rw-r--r--)  Uid: ( 1000/     ian)   Gid: (  513/    None)
      Access: 2011-12-02 16:58:07.414457900 +0000
      Modify: 2011-12-02 16:58:07.414457900 +0000
      Change: 2011-12-02 16:58:03.495141800 +0000
       Birth: 2011-12-02 16:57:57.731469900 +0000
      
      And if we copy such a file, then the copy is older (as determined by the
      "Modify" time) than the original:
      
      $ date; touch foo; stat foo; cp foo bar; stat bar
      Fri Dec  2 16:59:10 GMTST 2011
        File: `foo'
        Size: 0               Blocks: 0          IO Block: 65536  regular
      empty file
      Device: 540aba0bh/1409989131d   Inode: 1407374883725128  Links: 1
      Access: (0644/-rw-r--r--)  Uid: ( 1000/     ian)   Gid: (  513/    None)
      Access: 2011-12-02 16:59:10.118457900 +0000
      Modify: 2011-12-02 16:59:10.118457900 +0000
      Change: 2011-12-02 16:59:06.189477700 +0000
       Birth: 2011-12-02 16:57:57.731469900 +0000
        File: `bar'
        Size: 0               Blocks: 0          IO Block: 65536  regular
      empty file
      Device: 540aba0bh/1409989131d   Inode: 281474976882512  Links: 1
      Access: (0644/-rw-r--r--)  Uid: ( 1000/     ian)   Gid: (  513/    None)
      Access: 2011-12-02 16:59:06.394555800 +0000
      Modify: 2011-12-02 16:59:06.394555800 +0000
      Change: 2011-12-02 16:59:06.395532400 +0000
       Birth: 2011-12-02 16:58:40.921899600 +0000
      
      This means that make thinks that things are out of date when it
      shouldn't, so reinvokes itself repeatedly until the MAKE_RESTARTS
      infinite-recursion test triggers.
      
      The touchy program, like most other programs, creates files with both
      Modify and Change in the past, which is still a little odd, but is
      consistent, so doesn't break make.
      2694bb74
  26. 24 Nov, 2011 3 commits
  27. 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
  28. 12 Nov, 2011 2 commits
  29. 23 Oct, 2011 1 commit
  30. 14 Oct, 2011 2 commits
    • Ian Lynagh's avatar
      Don't hide the binary package · 85b0d3ed
      Ian Lynagh authored
      Cabal will use it regardless, and if people are going to use binary then
      it's a lot better if they use the one that we ship, rather than
      installing a second version.
      85b0d3ed
    • Ian Lynagh's avatar
      Simplify the libffi build · 7c3b22ed
      Ian Lynagh authored
      We now put the libffi objects into the RTS library, rather than trying
      to mangle libffi into being a ghc package itself. It would be nicer to
       make it a separate library (but not a ghc package), but for now
       hopefully this will get the build going through on Windows again.
      7c3b22ed