diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-02-17 12:09:48 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-02-17 12:10:05 +0100 |
commit | 3623d52b7e70159eb00852ae8f354274ad8f72a6 (patch) | |
tree | 4e29369096732de1ae5be19a87188e8c1140d29b /media-libs/x265 | |
parent | media-libs/x265: Use a more complete match for ppc64. (diff) | |
download | gentoo-3623d52b7e70159eb00852ae8f354274ad8f72a6.tar.gz gentoo-3623d52b7e70159eb00852ae8f354274ad8f72a6.tar.bz2 gentoo-3623d52b7e70159eb00852ae8f354274ad8f72a6.zip |
media-libs/x265: Disable asm/altivec on ppc64 when doing 10 or 12bits build.
https://bugs.gentoo.org/show_bug.cgi?id=607802#c5
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'media-libs/x265')
-rw-r--r-- | media-libs/x265/x265-2.2.ebuild | 8 | ||||
-rw-r--r-- | media-libs/x265/x265-2.3.ebuild | 8 | ||||
-rw-r--r-- | media-libs/x265/x265-9999.ebuild | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/media-libs/x265/x265-2.2.ebuild b/media-libs/x265/x265-2.2.ebuild index c6ca8a680315..56f3a30022e7 100644 --- a/media-libs/x265/x265-2.2.ebuild +++ b/media-libs/x265/x265-2.2.ebuild @@ -85,6 +85,10 @@ x265_variant_src_configure() { # 589674 mycmakeargs+=( -DENABLE_ASSEMBLY=OFF ) fi + if [[ ${ABI} = ppc64 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 + mycmakeargs+=( -DENABLE_ASSEMBLY=OFF -DENABLE_ALTIVEC=OFF ) + fi ;; "main10") mycmakeargs+=( @@ -100,6 +104,10 @@ x265_variant_src_configure() { # 589674 mycmakeargs+=( -DENABLE_ASSEMBLY=OFF ) fi + if [[ ${ABI} = ppc64 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 + mycmakeargs+=( -DENABLE_ASSEMBLY=OFF -DENABLE_ALTIVEC=OFF ) + fi ;; "main") if (( "${#MULTIBUILD_VARIANTS[@]}" > 1 )) ; then diff --git a/media-libs/x265/x265-2.3.ebuild b/media-libs/x265/x265-2.3.ebuild index 76189dc8583a..8a1c833acfed 100644 --- a/media-libs/x265/x265-2.3.ebuild +++ b/media-libs/x265/x265-2.3.ebuild @@ -85,6 +85,10 @@ x265_variant_src_configure() { # 589674 mycmakeargs+=( -DENABLE_ASSEMBLY=OFF ) fi + if [[ ${ABI} = ppc64 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 + mycmakeargs+=( -DENABLE_ASSEMBLY=OFF -DENABLE_ALTIVEC=OFF ) + fi ;; "main10") mycmakeargs+=( @@ -100,6 +104,10 @@ x265_variant_src_configure() { # 589674 mycmakeargs+=( -DENABLE_ASSEMBLY=OFF ) fi + if [[ ${ABI} = ppc64 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 + mycmakeargs+=( -DENABLE_ASSEMBLY=OFF -DENABLE_ALTIVEC=OFF ) + fi ;; "main") if (( "${#MULTIBUILD_VARIANTS[@]}" > 1 )) ; then diff --git a/media-libs/x265/x265-9999.ebuild b/media-libs/x265/x265-9999.ebuild index 05efee2ad987..879d8184469c 100644 --- a/media-libs/x265/x265-9999.ebuild +++ b/media-libs/x265/x265-9999.ebuild @@ -85,6 +85,10 @@ x265_variant_src_configure() { # 589674 mycmakeargs+=( -DENABLE_ASSEMBLY=OFF ) fi + if [[ ${ABI} = ppc64 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 + mycmakeargs+=( -DENABLE_ASSEMBLY=OFF -DENABLE_ALTIVEC=OFF ) + fi ;; "main10") mycmakeargs+=( @@ -100,6 +104,10 @@ x265_variant_src_configure() { # 589674 mycmakeargs+=( -DENABLE_ASSEMBLY=OFF ) fi + if [[ ${ABI} = ppc64 ]] ; then + # https://bugs.gentoo.org/show_bug.cgi?id=607802#c5 + mycmakeargs+=( -DENABLE_ASSEMBLY=OFF -DENABLE_ALTIVEC=OFF ) + fi ;; "main") if (( "${#MULTIBUILD_VARIANTS[@]}" > 1 )) ; then |