This project is mirrored from https://github.com/haskell/Cabal. Pull mirroring updated .
  1. 08 Sep, 2015 2 commits
  2. 04 Sep, 2015 2 commits
  3. 30 Aug, 2015 2 commits
  4. 28 Aug, 2015 2 commits
  5. 27 Aug, 2015 5 commits
  6. 26 Aug, 2015 2 commits
  7. 25 Aug, 2015 3 commits
  8. 22 Aug, 2015 1 commit
  9. 21 Aug, 2015 1 commit
  10. 20 Aug, 2015 4 commits
    • thomie's avatar
      Strip libraries at install/copy time. Never strip libraries in build directory. · 7ef72b31
      thomie authored
      Two changes:
      
        * strip static libraries (.a files) at install/copy time, instead of
          at build time. Note that Cabal strips shared libraries (.so files)
          and executables at install/copy time also.
      
          This is needed for GHC, because it uses Cabal (via ghc-cabal copy)
          to install the boot libraries, and relies on Cabal to take of
          library stripping. Currently .so files indeed get properly stripped,
          but .a files do not.
      
          (Stripping static libraries at build time was introduced in
          60409cb9, with the explanation:
          "Call 'stripLib' from createLibArchive so that it's done only
          once.")
      
          This bug (if you want to call it that) partially explains the
          difference in size of a GHC installation before and after manual
          stripping, reported in
          https://github.com/haskell/cabal/issues/1622#issuecomment-62076817
          (The other parts are that the GHC build system currently doesn't
          strip executables on installation:
          https://ghc.haskell.org/trac/ghc/ticket/9087, and neither are the
          RTS library stripped, since they don't go through Cabal).
      
        * never strip the copy of a library in the build directory. Only
          strip the copy that is installed. Note that Cabal never strips
          executables in the build directory either.
      
          This might speed up compilation of a package under development,
          since stripping won't be performed for every 'cabal build'. It is
          also consistent with the GNU coding standards for 'install-strip':
      
            "install-strip should not strip the executables in the build
            directory which are being copied for installation. It should only
            strip the copies that are installed."
      
          Source:
          http://www.gnu.org/prep/standards/html_node/Standard-Targets.html
      7ef72b31
    • thomie's avatar
      Don't check metadata of installed .a file · e18ad75a
      thomie authored
      When running the `strip` command (without the -D option) on an installed
      .a file, `strip` will write the current time to all file headers in the
      .a file. Update the DeterministicAr test to allow this.
      
      The DeterministicAr test is supposed to test for regressions in
      relinking avoidance. It is sufficient to do so in the build directory
      only.
      e18ad75a
    • Mikhail Glushenkov's avatar
      Merge pull request #2785 from BardurArantsson/dead-code-1 · 6627c7d4
      Mikhail Glushenkov authored
      Remove dead code
      6627c7d4
    • bardur.arantsson's avatar
      Remove dead code · b25adbe6
      bardur.arantsson authored
      Only the NoComments case of IncludeComments was ever used and we can
      simplify the generation of the default "package environment file"
      accordingly.
      b25adbe6
  11. 19 Aug, 2015 3 commits
  12. 18 Aug, 2015 2 commits
  13. 17 Aug, 2015 5 commits
  14. 16 Aug, 2015 3 commits
  15. 15 Aug, 2015 2 commits
  16. 11 Aug, 2015 1 commit