diff options
Diffstat (limited to 'gnu/packages/graphics.scm')
-rw-r--r-- | gnu/packages/graphics.scm | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index e247f9c933..c7ee19d7e6 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2015, 2016, 2021 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2015, 2016, 2021, 2022 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2015 Tomáš Čech <sleep_walker@gnu.org> ;;; Copyright © 2016, 2019 Leo Famulari <leo@famulari.name> ;;; Copyright © 2016, 2017, 2019 Ricardo Wurmus <rekado@elephly.net> @@ -758,11 +758,21 @@ applications, including the \"half\" 16-bit floating-point type.") (patches (search-patches "ilmbase-fix-tests.patch")))) (build-system cmake-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'change-directory - (lambda _ - (chdir "IlmBase") - #t))))) + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'change-directory + (lambda _ + (chdir "IlmBase") + #t)) + #$@(if (target-x86-32?) + #~((add-after 'change-directory 'skip-test + (lambda _ + ;; XXX: This test fails on i686, + ;; possibly due to excess precision when + ;; comparing floats. Skip it. + (substitute* "ImathTest/testFun.cpp" + (("assert \\(bit_cast<unsigned>.*" all) + (string-append "// " all "\n")))))) + #~())))) (home-page "https://www.openexr.com/") (synopsis "Utility C++ libraries for threads, maths, and exceptions") (description |