[arrayfire] 03/07: Build without AltiVec support on ppc64el, fixes FTBFS.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Dec 17 14:05:00 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit a2bf2cf130bff2fea5afb71eafce4e2a3e43fa99
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Dec 16 11:54:37 2015 +0000

    Build without AltiVec support on ppc64el, fixes FTBFS.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 7b3c551..ce25521 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,12 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 BUILDDIR = $(CURDIR)/obj-$(DEB_HOST_GNU_TYPE)
 
+# Build without AltiVec support on ppc64el.
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+DEB_CFLAGS_MAINT_APPEND += -mno-altivec
+DEB_CXXFLAGS_MAINT_APPEND += -mno-altivec
+endif
+
 # CMake options common to -arch and -indep builds.
 CMAKE_BUILD_OPTIONS = \
 	-DAF_INSTALL_CMAKE_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/ArrayFire \

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



More information about the debian-science-commits mailing list