[minieigen] 01/02: Add ggc-min-expand ggc-min-heapsize parameters to compiler on archs, where compilation fails due to insufficient RAM.

Anton Gladky gladk at moszumanska.debian.org
Fri Dec 27 15:41:50 UTC 2013


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch master
in repository minieigen.

commit 02e6619d37d7b55a3c3e17c2ef53da2fc9a36f51
Author: Anton Gladky <gladk at debian.org>
Date:   Fri Dec 27 16:05:45 2013 +0100

    Add ggc-min-expand ggc-min-heapsize parameters to compiler on archs, where compilation fails due to insufficient RAM.
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8bd5f1f..9c30f0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,17 @@
 
 %:
 	dh $@ --with python2
+
 PYVER = $(shell pyversions -dv)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 export PYTHONPATH :=  $(CURDIR)/debian/python-minieigen/usr/lib/python$(PYVER)/dist-packages:$(PYTHONPATH);
 
+ifeq ($(DEB_HOST_ARCH), armel armhf hurd-i386 mips mipsel)
+export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=20 --param ggc-min-heapsize=128000
+export DEB_CFLAGS_MAINT_APPEND = --param ggc-min-expand=20 --param ggc-min-heapsize=128000
+endif
+
 override_dh_installdocs:
 	dh_installdocs
 	make -C doc html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/minieigen.git



More information about the debian-science-commits mailing list