Bug#909950: aom: Please disable VSX on powerpcspe
Source: aom
Version: 1.0.0-2
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: powerpcspe
Hi!
aom currently fails to build from source on powerpcspe because it's
trying to use Altivec (VSX) code which is not supported on powerpcspe
because that architecture supports SPE instructions instead.
The attached patch changes the rules file to disable VSX on powerpcspe,
please include it in the next upload.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- aom-1.0.0/debian/rules.orig 2018-09-20 10:58:42.000000000 +0200
+++ aom-1.0.0/debian/rules 2018-09-30 12:55:16.385349149 +0200
@@ -15,6 +15,11 @@
CONFIG_EXTRA := -DAOM_TARGET_CPU=generic
endif
+# Disable AltiVec on powerpcspe
+ifeq ($(DEB_HOST_ARCH),powerpcspe)
+ CONFIG_EXTRA := -DENABLE_VSX=OFF
+endif
+
%:
dh $@ -Bbuild-debian
Reply to: