summaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2017-01-30 14:18:07 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-30 16:02:05 -0500
commit32729d3586d7ecdeb8561b6d0b2a688db709560c (patch)
tree08a8edd6f1d90265c60dd8841e47bcbf547fac02 /.gitmodules
parente9a239ce3569239768204c93a2eb90bfb0f3383d (diff)
downloadhaskell-32729d3586d7ecdeb8561b6d0b2a688db709560c.tar.gz
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
Diffstat (limited to '.gitmodules')
-rw-r--r--.gitmodules5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitmodules b/.gitmodules
index 783c568b61..55d360ae10 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -106,7 +106,7 @@
[submodule "nofib"]
path = nofib
url = ../nofib.git
- ignore = untracked
+ ignore = untracked
[submodule "utils/hsc2hs"]
path = utils/hsc2hs
url = ../hsc2hs.git
@@ -115,6 +115,9 @@
path = libffi-tarballs
url = ../libffi-tarballs.git
ignore = none
+[submodule "gmp-tarballs"]
+ path = libraries/integer-gmp/gmp/gmp-tarballs
+ url = ../gmp-tarballs.git
[submodule ".arc-linters/arcanist-external-json-linter"]
path = .arc-linters/arcanist-external-json-linter
url = ../arcanist-external-json-linter.git