summaryrefslogtreecommitdiff
path: root/mk
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 /mk
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 'mk')
-rw-r--r--mk/build.mk.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index e9219bd32b..4175dc7cf2 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -86,7 +86,7 @@ endif
# Uncomment the following line to enable building DPH
#BUILD_DPH=YES
-# Uncomment the following to force `integer-gmp` to use the in-tree GMP 5.0.4
+# Uncomment the following to force `integer-gmp` to use the in-tree GMP 6.1.2
# (other sometimes useful configure-options: `--with-gmp-{includes,libraries}`)
#libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-intree-gmp