Turn libraries/integer-gmp/gmp/tarball into a submodule
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
Showing
- .gitmodules 4 additions, 1 deletion.gitmodules
- libraries/integer-gmp/gmp/ghc.mk 8 additions, 3 deletionslibraries/integer-gmp/gmp/ghc.mk
- libraries/integer-gmp/gmp/gmp-tarballs 1 addition, 0 deletionslibraries/integer-gmp/gmp/gmp-tarballs
- libraries/integer-gmp/gmp/gmpsrc.patch 79 additions, 27 deletionslibraries/integer-gmp/gmp/gmpsrc.patch
- libraries/integer-gmp/gmp/tarball/README 0 additions, 8 deletionslibraries/integer-gmp/gmp/tarball/README
- libraries/integer-gmp/gmp/tarball/gmp-5.0.3-nodoc-patched.tar.bz2 0 additions, 0 deletions...s/integer-gmp/gmp/tarball/gmp-5.0.3-nodoc-patched.tar.bz2
- libraries/integer-gmp/gmp/tarball/gmp-5.0.4.patch 0 additions, 1584 deletionslibraries/integer-gmp/gmp/tarball/gmp-5.0.4.patch
- libraries/integer-gmp/gmp/tarball/patch 0 additions, 103 deletionslibraries/integer-gmp/gmp/tarball/patch
- mk/build.mk.sample 1 addition, 1 deletionmk/build.mk.sample
File deleted
This diff is collapsed.
Please register or sign in to comment