From 93b07e5eb612e6966e1c03a0b6ebbc38d9f13991 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 19 Apr 2023 09:54:00 +0300 Subject: 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. --- gnu/packages/image.scm | 5 +++-- 1 file 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 -- cgit v1.2.3