[librsb] 01/09: d/rules: Hardcode cache size on problematic architectures
Rafael Laboissiere
rafael at debian.org
Sun Mar 12 01:09:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository librsb.
commit 87e2e4e2efdcdc8d56078c8c655d3bbab1e10fa6
Author: Rafael Laboissiere <rafael at debian.org>
Date: Fri Mar 10 17:22:05 2017 -0300
d/rules: Hardcode cache size on problematic architectures
Thanks: Michele Martone for the suggestion
---
debian/rules | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/debian/rules b/debian/rules
index 2e18d16..7696b56 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,13 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
+
+ifneq (,$(filter $(DEB_BUILD_ARCH),arm64 armel armhf mips mips64el mipsel hppa kfreebsd-amd64 kfreebsd-i386 sparc64))
+ CACHE_FLAG = --with-memhinfo=L2:4/64/512K,L1:8/64/24K
+else
+ CACHE_FLAG =
+endif
+
export DEB_CFLAGS_MAINT_APPEND = -O3
%:
@@ -7,6 +15,7 @@ export DEB_CFLAGS_MAINT_APPEND = -O3
override_dh_auto_configure:
dh_auto_configure -- \
+ $(CACHE_FLAG) \
--with-hwloc \
--enable-matrix-types=blas \
--with-zlib=-lz \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/librsb.git
More information about the debian-science-commits
mailing list