[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/09: gnu: lib2geom: Skip faulty test on i686.
From: |
guix-commits |
Subject: |
01/09: gnu: lib2geom: Skip faulty test on i686. |
Date: |
Thu, 25 Nov 2021 09:29:22 -0500 (EST) |
civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit 3d4c527824e4383ba1f7724e718ffb30148d69e2
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Nov 25 15:01:12 2021 +0100
gnu: lib2geom: Skip faulty test on i686.
* gnu/packages/graphics.scm (lib2geom)[arguments]: When
'target-x86-32?', add 'skip-faulty-test' phase.
---
gnu/packages/graphics.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 725cbc8..1c78bd7 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -812,7 +812,17 @@ exception-handling library.")
(substitute* '("src/cython/CMakeLists.txt"
"src/py2geom/CMakeLists.txt")
(("PYTHON_LIB_INSTALL \"[^\"]*\"")
- (format #f "PYTHON_LIB_INSTALL ~s" site-package)))))))))
+ (format #f "PYTHON_LIB_INSTALL ~s" site-package))))))
+ ,@(if (target-x86-32?)
+ `((add-after 'unpack 'skip-faulty-test
+ (lambda _
+ ;; This test fails on i686 when comparing floating point
+ ;; values, probably due to excess precision. However,
+ ;; '-fexcess-precision' is not implemented for C++ in
+ ;; GCC 10 so just skip it.
+ (substitute* "tests/CMakeLists.txt"
+ (("bezier-test") "")))))
+ '()))))
(native-inputs `(("python" ,python-wrapper)
("googletest" ,googletest)
("pkg-config" ,pkg-config)))
- branch core-updates-frozen updated (c9208be -> 612e38b), guix-commits, 2021/11/25
- 02/09: gnu: iftop: Build with '-O2'., guix-commits, 2021/11/25
- 04/09: gnu: gpredict: Build with '-O2'., guix-commits, 2021/11/25
- 01/09: gnu: lib2geom: Skip faulty test on i686.,
guix-commits <=
- 03/09: gnu: vinagre: Build with '-O2'., guix-commits, 2021/11/25
- 08/09: gnu: w-scan: Build with '-O2'., guix-commits, 2021/11/25
- 07/09: gnu: transcode: Build with '-O2'., guix-commits, 2021/11/25
- 09/09: gnu: uim-gtk: Build with '-O2'., guix-commits, 2021/11/25
- 06/09: gnu: aris: Build with '-O2'., guix-commits, 2021/11/25
- 05/09: gnu: geeqie: Build with '-O2'., guix-commits, 2021/11/25