summaryrefslogtreecommitdiff
path: root/gnu/packages/image-processing.scm
diff options
context:
space:
mode:
authordan <i@dan.games>2025-10-24 17:14:33 +0800
committerAndreas Enge <andreas@enge.fr>2025-11-22 10:17:43 +0100
commitdb59a6ea3c32598653391830c39f1cca8e8f2c1a (patch)
tree156a20fd113729e5059d7c5ebd96e4eca5c4190c /gnu/packages/image-processing.scm
parent61ab28c2a7a7a4fb940f692b43027708f3be2ff1 (diff)
gnu: opencolorio: Disable a failing test case on ARM and RISC-V.
* gnu/packages/image-processing.scm (opencolorio): Disable a failing test case on ARM and RISC-V. Change-Id: If7ef40f72b0d42be47a3771a18e18c7c97b202ea Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/image-processing.scm')
-rw-r--r--gnu/packages/image-processing.scm16
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index f06d4693428..ea53d902341 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -27,6 +27,7 @@
27;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com> 27;;; Copyright © 2025 Jake Forster <jakecameron.forster@gmail.com>
28;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com> 28;;; Copyright © 2025 Anderson Torres <anderson.torres.8519@gmail.com>
29;;; Copyright © 2025 Andreas Enge <andreas@enge.fr> 29;;; Copyright © 2025 Andreas Enge <andreas@enge.fr>
30;;; Copyright © 2025 dan <i@dan.games>
30;;; 31;;;
31;;; This file is part of GNU Guix. 32;;; This file is part of GNU Guix.
32;;; 33;;;
@@ -303,7 +304,20 @@ licences similar to the Modified BSD licence."))))
303 ;; (see https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/v2.4.2/tests/cpu/Config_tests.cpp#L6227) 304 ;; (see https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/v2.4.2/tests/cpu/Config_tests.cpp#L6227)
304 (substitute* "tests/cpu/Config_tests.cpp" 305 (substitute* "tests/cpu/Config_tests.cpp"
305 (("cs1\\\\t\\\\n \\\\n, \\\\ncs2") 306 (("cs1\\\\t\\\\n \\\\n, \\\\ncs2")
306 "cs1, cs2"))))))) 307 "cs1, cs2"))))
308 ;; Disable a failing test case on arm and riscv due to FMA
309 ;; instructions being generated.
310 ;; (see https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1784)
311 #$@(if (or (target-arm?)
312 (target-riscv64?))
313 #~((add-after 'unpack 'disable-failing-test
314 (lambda _
315 (substitute* "tests/cpu/ops/gamma/GammaOpCPU_tests.cpp"
316 ((".*apply_moncurve_mirror_style_fwd.*" all)
317 (string-append "#if 0\n" all))
318 ((".*apply_moncurve_mirror_style_rev.*" all)
319 (string-append "#endif\n" all))))))
320 #~()))))
307 (native-inputs 321 (native-inputs
308 ;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail. 322 ;; XXX: OCIO has unit tests for OpenShadingLanguage, but they fail.
309 ;; They also require OIIO, but OCIO is an optional dependency to it. 323 ;; They also require OIIO, but OCIO is an optional dependency to it.