summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-09-02 12:04:57 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-02 18:16:51 +0200
commit2c5c04eb2be09bf5e1c504c4be64fea5ebb3f40c (patch)
treee1fe0314cf1d21dba9b9161d2f2e999ac9345911
parentdb2cd4217830ffd23a6924a0c0adb59e9b221449 (diff)
downloadguix-2c5c04eb2be09bf5e1c504c4be64fea5ebb3f40c.tar.gz
gnu: imath: Skip tests on i686.
* gnu/packages/graphics.scm (imath)[arguments]: New field.
-rw-r--r--gnu/packages/graphics.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index fdc72d5a8d..d9e0b5b859 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -747,6 +747,12 @@ many more.")
        (sha256
         (base32 "1nyld18mf220ghm1vidnfnn0rdns9z5i4l9s66xgd0kfdgarb31f"))))
     (build-system cmake-build-system)
+    (arguments
+     ;; XXX: On i686-linux, tests fail due to rounding issues (excess
+     ;; precision), as was discussed and patched long ago:
+     ;; <https://issues.guix.gnu.org/22049>.  It seems the relevant fixes
+     ;; didn't make it upstream, so skip tests.
+     (list #:tests? (not (target-x86-32?))))
     (home-page "https://github.com/AcademySoftwareFoundation/Imath")
     (synopsis "Library of math operations for computer graphics")
     (description