1. 20 Mar, 2015 1 commit
  2. 05 Aug, 2014 1 commit
    • Edward Z. Yang's avatar
      Package keys (for linking/type equality) separated from package IDs. · 66218d15
      Edward Z. Yang authored
      This patch set makes us no longer assume that a package key is a human
      readable string, leaving Cabal free to "do whatever it wants" to allocate
      keys; we'll look up the PackageId in the database to display to the user.
      This also means we have a new level of qualifier decisions to make at the
      package level, and rewriting some Safe Haskell error reporting code to DTRT.
      
      Additionally, we adjust the build system to use a new ghc-cabal output
      Make variable PACKAGE_KEY to determine library names and other things,
      rather than concatenating PACKAGE/VERSION as before.
      
      Adds a new `-this-package-key` flag to subsume the old, erroneously named
      `-package-name` flag, and `-package-key` to select packages by package key.
      
      RFC: The md5 hashes are pretty tough on the eye, as far as the file
      system is concerned :(
      
      ToDo: safePkg01 test had its output updated, but the fix is not really right:
      the rest of the dependencies are truncated due to the fact the we're only
      grepping a single line, but ghc-pkg is wrapping its output.
      
      ToDo: In a later commit, update all submodules to stop using -package-name
      and use -this-package-key.  For now, we don't do it to avoid submodule
      explosion.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Test Plan: validate
      
      Reviewers: simonpj, simonmar, hvr, austin
      
      Subscribers: simonmar, relrod, carter
      
      Differential Revision: https://phabricator.haskell.org/D80
      66218d15
  3. 19 Apr, 2014 1 commit
  4. 26 Feb, 2014 1 commit
    • Austin Seipp's avatar
      Fix GMP v4 compatibility. · 4775d006
      Austin Seipp authored
      We had started relying on GMP 5.x (for usage of mpz_powm_sec), but this
      is pretty painful on RHEL-esque targets, which still use GMP 4.x.
      
      In the mean time while we're still supporting this, it's easier to just
      fallback to mpz_powm when _sec is unavailable, and emit a WARNING for
      using the primitive.
      
      This also installs a header, HsIntegerGmp.h, which clients could use for
      a fallback.
      
      As a side note, this will probably also help Debian oldstable users who
      might have outdated GMP versions (which I believe is the cause for #8666.)
      Reviewed-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
      4775d006
  5. 01 Feb, 2014 1 commit
  6. 31 Jan, 2014 1 commit
  7. 24 Oct, 2013 2 commits
  8. 11 Sep, 2013 1 commit
  9. 30 Nov, 2012 2 commits
  10. 19 Jul, 2012 1 commit
  11. 25 Aug, 2011 1 commit
  12. 06 Jul, 2011 1 commit
  13. 22 Apr, 2011 1 commit
  14. 05 Apr, 2011 1 commit
  15. 16 Sep, 2010 1 commit
  16. 20 Sep, 2009 1 commit
  17. 21 Jul, 2009 1 commit
  18. 22 Jun, 2009 1 commit
  19. 15 Jun, 2009 2 commits
  20. 13 Jun, 2009 2 commits
  21. 11 Jun, 2009 1 commit
  22. 12 Mar, 2009 1 commit
  23. 22 Jan, 2009 1 commit
  24. 21 Jan, 2009 1 commit
  25. 25 Sep, 2008 1 commit
  26. 20 Sep, 2008 1 commit
  27. 23 Mar, 2008 1 commit