[openblas] 01/02: PowerPC: enforce a generic-enough target (PPCG4) for the generic package.

Sébastien Villemot sebastien at debian.org
Sun Jun 15 13:34:01 UTC 2014


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

sebastien pushed a commit to branch master
in repository openblas.

commit 87080d87e680d50d0400bf6d1f89f8c9d71c499a
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Sun Jun 15 15:19:03 2014 +0200

    PowerPC: enforce a generic-enough target (PPCG4) for the generic package.
    
    Previously, the target was (erroneously) selected based on the buildd
    hardware.
    
    Git-Dch: Full
---
 debian/rules | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6b05ab7..bd1dfc9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,13 @@ ifeq ($(DEB_HOST_ARCH),armhf)
 	TARGET_GENERIC_ARG="TARGET=ARMV6"
 endif
 
+ifeq ($(DEB_HOST_ARCH),powerpc)
+	# There is no dynamic arch selection on PowerPC. To avoid selecting a
+	# target based on the buildd hardware, we enforce a generic-enough
+	# target.
+	TARGET_GENERIC_ARG="TARGET=PPCG4"
+endif
+
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	DEBUG_ARG="DEBUG=1"
 endif

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



More information about the debian-science-commits mailing list