[atlas] 02/03: d/rules: on Ubuntu s390x set ARCHS to z12.
Sébastien Villemot
sebastien at debian.org
Thu Aug 4 14:34:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository atlas.
commit e7372d2f3dd506acaccbb568d440abb9ca7e99af
Author: Dimitri John Ledkov <xnox at ubuntu.com>
Date: Tue Aug 2 17:41:06 2016 +0100
d/rules: on Ubuntu s390x set ARCHS to z12.
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index a632ccc..db9b573 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,11 @@
include /usr/share/cdbs/1/rules/debhelper.mk
+ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
+UBUNTU:=yes
+endif
+
+
# NB: the following strings and numbers come from xprint_enums (compilable from the build
# directory with "make xprint_enums); they can change across releases
#
@@ -10,7 +15,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
# - 1 means no instruction set extension
# - 768 means SSE1+SSE2 (always available on amd64)
ifeq ($(DEB_HOST_ARCH),s390x)
-ARCHS=base_IBMz9_1
+ARCHS=$(if $(UBUNTU),base_IBMz12_1,base_IBMz9_1)
else ifeq ($(DEB_HOST_ARCH_CPU),i386)
# See http://math-atlas.sourceforge.net/atlas_install/node32.html
ARCHS=base_x86x87_1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/atlas.git
More information about the debian-science-commits
mailing list