summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-19 09:54:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-04-19 09:54:00 +0300
commit93b07e5eb612e6966e1c03a0b6ebbc38d9f13991 (patch)
tree2a39b6c7bd8df9f422598dc21d5244bd92a00e5d
parent7f5e0678938e95987c97852eb640a39cbc9dfe63 (diff)
gnu: libjpeg-turbo: Skip failing test on riscv64-linux.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: Adjust configure-flags to skip a failing test also on riscv64-linux.
-rw-r--r--gnu/packages/image.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 754c99a823..37d01eb731 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -1688,8 +1688,9 @@ is hereby granted."))))
(list #:configure-flags
#~'("-DCMAKE_INSTALL_LIBDIR:PATH=lib"
"-DENABLE_STATIC=0"
- ;; djpeg-shared-3x2-float-prog-cmp fails on 32-bit PPC.
- #$@(if (string=? "powerpc-linux" (%current-system))
+ ;; djpeg-shared-3x2-float-prog-cmp fails on some systems.
+ #$@(if (or (target-ppc32?)
+ (target-riscv64?))
'("-DFLOATTEST=NO")
'())
;; The build system probes for the current CPU, but