[Buildroot] [git commit] package/x265: disable altivec on ppc64

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 24 15:56:14 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=4f3fd7460c7cb004cc4f7f75451d3901098910af
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Disable altivec support until gcc problems are fixed:
https://bitbucket.org/multicoreware/x265/issues/320/fail-to-build-on-power8-le#comment-34076791

Fixes
http://autobuild.buildroot.net/results/419/41910d44ff98c60a6bb9fd3b6a10bd4d0b98d646/

Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/x265/x265.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/x265/x265.mk b/package/x265/x265.mk
index 2907ba3..2facf2c 100644
--- a/package/x265/x265.mk
+++ b/package/x265/x265.mk
@@ -16,6 +16,12 @@ ifeq ($(BR2_i386)$(BR2_x86_64),y)
 X265_DEPENDENCIES += host-yasm
 endif
 
+# disable altivec, it has build issues
+# https://bitbucket.org/multicoreware/x265/issues/320/
+ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y)
+X265_CONF_OPTS += -DENABLE_ALTIVEC=OFF
+endif
+
 ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
 X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON
 else


More information about the buildroot mailing list