Bug#898638: verdigris: Reduce tests' memory usage on limited archs
Source: verdigris
Version: 1.0-1
Severity: important
Tags: patch
Hi! Marking this as important because it prevents verdigris from being built in mips.
The current test suite of verdigris makes a havey memory usage for some archs. The
way to reduce this is reducing debugging symbols on thise archs, which for tests
is just OK.
Here is a patch by Adrian Bunk:
--- debian/rules.old 2018-05-13 08:28:51.581772929 +0000
+++ debian/rules 2018-05-13 08:30:15.391768205 +0000
@@ -4,6 +4,11 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+# less debug info to avoid running out of address space
+ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
+ export DEB_CXXFLAGS_MAINT_APPEND += -g1
+endif
+
export QT_SELECT=qt5
%:
Kinds regards, Lisandro.
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: