[DHG_packages] 01/01: ghc: reduce memory usage when building on mips/mipsel
Clint Adams
clint at moszumanska.debian.org
Tue Nov 1 15:11:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository DHG_packages.
commit d5a4f753fc50648628f7160044c4c13fab812ee6
Author: Clint Adams <clint at debian.org>
Date: Tue Nov 1 11:11:00 2016 -0400
ghc: reduce memory usage when building on mips/mipsel
---
p/ghc/debian/changelog | 1 +
p/ghc/debian/rules | 3 +++
2 files changed, 4 insertions(+)
diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index f1e1f0c..2b68cd6 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -6,6 +6,7 @@ ghc (8.0.1-9) UNRELEASED; urgency=medium
[ Clint Adams ]
* Patch from James Clarke to prevent unaligned accesses on sparc64.
closes: #842780.
+ * Reduce memory usage when building on mips/mipsel.
-- Ilias Tsitsimpis <i.tsitsimpis at gmail.com> Sat, 29 Oct 2016 20:03:26 +0300
diff --git a/p/ghc/debian/rules b/p/ghc/debian/rules
index 5345397..d589f43 100755
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -56,6 +56,9 @@ endif
ifeq (armel,$(DEB_HOST_ARCH))
patch -p1 < debian/patches/armel-revert-ghci-fixes.patch
endif
+ifneq (,$(findstring $(DEB_HOST_ARCH), mips mipsel))
+ echo "SRC_HC_OPTS += -optc--param -optcggc-min-expand=10" >> mk/build.mk
+endif
ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
# echo "GhcStage1HcOpts += -DDEBUG" >> mk/build.mk
# echo "GhcStage2HcOpts += -DDEBUG" >> mk/build.mk
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list