diff options
Diffstat (limited to 'gnu/packages/image-processing.scm')
| -rw-r--r-- | gnu/packages/image-processing.scm | 16 |
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. |
