diff options
author | Marcel van der Boom <marcel@van-der-boom.nl> | 2022-08-10 09:19:02 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-08-11 09:42:06 +0200 |
commit | a7c14a82255526173f15c05d921a6048063e7378 (patch) | |
tree | 526e5cca472185a64450fa37ffeb11228620553b | |
parent | 4c846ba9eb3fc97d2204d123f5ff92a979da47ba (diff) | |
download | guix-a7c14a82255526173f15c05d921a6048063e7378.tar.gz guix-a7c14a82255526173f15c05d921a6048063e7378.zip |
gnu: x265: Fix build on ppc64le.
* gnu/packages/video.scm (x265)[arguments]: Disable ALTIVEC for ppc64le.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
-rw-r--r-- | gnu/packages/video.scm | 8 |
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" |