1. 02 Feb, 2018 1 commit
  2. 30 Jan, 2017 1 commit
    • rwbarton's avatar
      Turn libraries/integer-gmp/gmp/tarball into a submodule · 32729d35
      rwbarton authored
      The submodule repository contains the latest version of the GMP source
      distribution (6.1.2) with the doc/ subdirectory removed, as described
      in gmp/ghc.mk. Rather than applying the old patch from gmp/tarball/patch
      I moved its contents into gmp/gmpsrc.patch, canceling a patch related to
      memory management there. Experimentally, the PIC-related patch for OS X
      is still necessary.
      
      The upgrade to GMP 6.1.2 fixes #7655.
      
      Test Plan:
      Built on OS X with in-tree gmp and tested that the command
      `ghc -e 'length (show (2^(5*10^6) :: Integer))'` no longer segfaults.
      
      Reviewers: mpickering, hvr, austin, bgamari
      
      Reviewed By: bgamari
      
      Subscribers: mpickering, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3044
      
      GHC Trac Issues: #7655
      32729d35
  3. 29 Feb, 2016 1 commit
    • Nicolas Trangez's avatar
      Build system: Correctly pass `TARGETPLATFORM` as host · 16e97c16
      Nicolas Trangez authored
      When building the bundled GMP sources, the `HOSTPLATFORM` value was
      passed to the `--host` flag of the `./configure` call. This is
      incorrect: when building a cross-compiler, e.g. a compiler targeting
      ARM but running on X86, the host on which GMP will run is ARM, i.e.
      the target platform of the compiler, and the host platform (i.e. the
      platform on which the compiler will run) is X86.
      
      See e.g. [1] for more information about the meaning of and relation
      between build, host and target.
      
      [1] https://www.gnu.org/software/autoconf/manual/
          autoconf-2.65/html_node/Specifying-Target-Triplets.html
      
      Test Plan: Building ARM cross-compiler with `integer-gmp`
      
      Reviewers: thomie, gracjan, austin, erikd, Phyx, hvr, bgamari
      
      Reviewed By: erikd, bgamari
      
      Subscribers: erikd, gracjan
      
      Differential Revision: https://phabricator.haskell.org/D1960
      16e97c16
  4. 20 Aug, 2015 1 commit
  5. 04 Jun, 2015 1 commit
    • thomie's avatar
      Build: ./boot && ./configure && make sdist (#8723) · 092082e7
      thomie authored
      Make it possible to run `make sdist` right after configure, without completing
      a complete build first.
      
      Test Plan:
      I compared the contents of the created `.tar.bz2` files in the `sdistprep`
      directory, after running `make sdist` both before and after completing a full
      build, using `diff -r`. There weren't any differences (after applying the
      patches from D914).
      
      Note that the `.tar.bz2` files were not exactly the same size, but they aren't
      either when tarring and bzipping the same directory twice. It seems tarring
      and bzipping is not deterministic (on my system).
      
      Differential Revision: https://phabricator.haskell.org/D917
      092082e7
  6. 30 May, 2015 2 commits
  7. 31 Mar, 2015 1 commit
    • Herbert Valerio Riedel's avatar
      Drop old integer-gmp-0.5 from GHC source tree · 995e8c1c
      Herbert Valerio Riedel authored
      This completes what c774b28f (#9281)
      started.  `integer-gmp-1.0` was added as an additional
      `libraries/integer-gmp2` folder while retaining the ability to configure
      GHC w/ the old `integer-gmp-0.5` to have a way back, and or the ability
      to easily switch between old/new `integer-gmp` for benchmark/debugging
      purposes.
      
      This commit removes the old `libraries/integer-gmp` folder and moves
      `libraries/integer-gmp2` into its place, while removing any mentions of
      "gmp2" as well as the to support two different `integer-gmp` packages in
      GHC's source-tree.
      
      Reviewed By: austin
      
      Differential Revision: https://phabricator.haskell.org/D769
      995e8c1c
  8. 19 May, 2014 1 commit
  9. 19 Apr, 2014 1 commit
  10. 14 Jan, 2014 1 commit
  11. 02 Jul, 2013 1 commit
  12. 22 Jun, 2013 1 commit
  13. 09 May, 2013 1 commit
  14. 20 Apr, 2013 1 commit
  15. 01 Mar, 2013 1 commit
  16. 09 Feb, 2013 2 commits
  17. 26 Jan, 2013 1 commit
  18. 24 Jan, 2013 1 commit
  19. 01 Jan, 2013 1 commit
  20. 16 Mar, 2012 1 commit
  21. 02 Dec, 2011 1 commit
  22. 19 Nov, 2011 1 commit
  23. 23 Apr, 2011 2 commits
  24. 22 Apr, 2011 1 commit
    • Ian Lynagh's avatar
      Tweak build rules · 976a913a
      Ian Lynagh authored
      We were doing
          echo $(HOSTPLATFORM) | sed 's/i[567]86/i486/g'
      but the only x86 value HOSTPLATFORM can have is i386.
      
      We now also tell GMP that its build platform is $(BUILDPLATFORM)
      rather than $(HOSTPLATFORM).
      976a913a
  25. 06 Feb, 2011 1 commit
  26. 22 Jan, 2011 1 commit
  27. 17 Jan, 2011 2 commits
  28. 23 Jul, 2010 1 commit
  29. 16 Jun, 2010 1 commit
  30. 10 Jun, 2010 1 commit
  31. 19 Apr, 2010 1 commit
  32. 15 Feb, 2010 1 commit
    • Ian Lynagh's avatar
      Fix the build · cd0cecb3
      Ian Lynagh authored
      A missing | meant that the build broke on machines that don't have
      libgmp available.
      cd0cecb3
  33. 14 Feb, 2010 1 commit
  34. 18 Jan, 2010 1 commit
  35. 17 Dec, 2009 1 commit
  36. 16 Dec, 2009 1 commit