Skip to contentSkip to conversation

package/x265: disable altivec on ppc64

PATCH New Bernd Kuhls 3 participants 4 messages Jul 23, 2017 – Jul 25, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/x265: disable altivec on ppc64

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/

---
 package/x265/x265.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/x265/x265.mk +6 -0
index 2907ba373..2facf2c1d 100644
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 package/x265: bump version to 2.5

---
 package/x265/x265.hash | 2 +-
 package/x265/x265.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/x265/x265.hash +1 -1
index 1ad81700a..3e44b0369 100644
@@ -1,2 +1,2 @@
 # Locally generated
-sha256 9c2aa718d78f6fecdd783f08ab83b98d3169e5f670404da4c16439306907d729  x265_2.4.tar.gz
+sha256 2e53259b504a7edb9b21b9800163b1ff4c90e60c74e23e7001d423c69c5d3d17  x265_2.5.tar.gz
package/x265/x265.mk +1 -1
index 2facf2c1d..ae570e6e4 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-X265_VERSION = 2.4
+X265_VERSION = 2.5
 X265_SOURCE = x265_$(X265_VERSION).tar.gz
 X265_SITE = https://bitbucket.org/multicoreware/x265/downloads
 X265_LICENSE = GPL-2.0+
Signature · 1 line
2.11.0
#2 lore raw

PATCH 1/2 package/x265: disable altivec on ppc64

In reply to Bernd Kuhls

Hello,

Quoted 10 lines · Bernd Kuhls

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/

---
 package/x265/x265.mk | 6 ++++++
 1 file changed, 6 insertions(+)

Both applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/2 package/x265: disable altivec on ppc64

In reply to Bernd Kuhls
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

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/

Committed to 2017.02.x and 2017.05.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard