~ruther/guix-local

a7c14a82255526173f15c05d921a6048063e7378 — Marcel van der Boom 3 years ago 4c846ba
gnu: x265: Fix build on ppc64le.

* gnu/packages/video.scm (x265)[arguments]: Disable ALTIVEC for ppc64le.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
1 files changed, 8 insertions(+), 0 deletions(-)

M gnu/packages/video.scm
M gnu/packages/video.scm => gnu/packages/video.scm +8 -0
@@ 1252,6 1252,10 @@ on the Invidious instances only as a fallback method.")
                 ,@(if (target-aarch64?)
                     '("-DENABLE_ASSEMBLY=OFF")
                     '())
                 ;; Altivec code produces many build errors.
                 ,@(if (target-ppc64le?)
                       '("-DENABLE_ALTIVEC=OFF")
                       '())
                 "-DHIGH_BIT_DEPTH=ON"
                 "-DEXPORT_C_API=OFF"
                 "-DENABLE_CLI=OFF"


@@ 1272,6 1276,10 @@ on the Invidious instances only as a fallback method.")
                 ,@(if (target-aarch64?)
                     '("-DENABLE_ASSEMBLY=OFF")
                     '())
                 ;; Altivec code produces many build errors.
                 ,@(if (target-ppc64le?)
                       '("-DENABLE_ALTIVEC=OFF")
                       '())
                 "-DHIGH_BIT_DEPTH=ON"
                 "-DEXPORT_C_API=OFF"
                 "-DENABLE_CLI=OFF"