[Pkg-julia-devel] [SCM] dsfmt/master: Disable unsupported Altivec on ppc64el to fix FTBFS

pc-guest at users.alioth.debian.org pc-guest at users.alioth.debian.org
Sun Nov 8 16:59:52 UTC 2015


The following commit has been merged in the master branch:
commit 955a123c1f063870daf0a6a71e6bdb5f80842348
Author: Peter Colberg <peter at colberg.org>
Date:   Sun Nov 8 11:51:41 2015 -0500

    Disable unsupported Altivec on ppc64el to fix FTBFS
    
    https://lists.alioth.debian.org/pipermail/pkg-julia-devel/Week-of-Mon-20151102/000761.html

diff --git a/debian/changelog b/debian/changelog
index a4d0b0f..20cea81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dsfmt (2.2.3+dfsg-2) UNRELEASED; urgency=medium
+
+  * Disable unsupported Altivec on ppc64el to fix FTBFS.
+
+ -- Peter Colberg <peter at colberg.org>  Sun, 08 Nov 2015 11:48:49 -0500
+
 dsfmt (2.2.3+dfsg-1) unstable; urgency=medium
 
   * Initial release. (Closes: #803354)
diff --git a/debian/rules b/debian/rules
index 3ad755a..8eae48d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,9 @@ endif
 ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386))
 CONFIGURE_FLAGS += --enable-sse2
 endif
-ifneq (,$(filter $(DEB_HOST_ARCH),ppc64 ppc64el))
+# Altivec is enabled on ppc64 but disabled on ppc64el, since the Altivec
+# variant of the recursion in dSFMT-common.h assumes big endian byte order.
+ifneq (,$(filter $(DEB_HOST_ARCH),ppc64))
 CONFIGURE_FLAGS += --enable-altivec
 endif
 

-- 
dsfmt packaging



More information about the Pkg-julia-devel mailing list