summary refs log tree commit diff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorMarcel van der Boom <marcel@van-der-boom.nl>2022-08-10 09:19:02 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-08-11 09:42:06 +0200
commita7c14a82255526173f15c05d921a6048063e7378 (patch)
tree526e5cca472185a64450fa37ffeb11228620553b /gnu/packages/video.scm
parent4c846ba9eb3fc97d2204d123f5ff92a979da47ba (diff)
downloadguix-a7c14a82255526173f15c05d921a6048063e7378.tar.gz
gnu: x265: Fix build on ppc64le.
* gnu/packages/video.scm (x265)[arguments]: Disable ALTIVEC for ppc64le.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d5dc59ddff..ff12e1bb9e 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -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"