mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 13:17:10 -05:00
gnu: lib2geom: Skip faulty test on i686.
* gnu/packages/graphics.scm (lib2geom)[arguments]: When 'target-x86-32?', add 'skip-faulty-test' phase.
This commit is contained in:
parent
c9208beb3c
commit
3d4c527824
1 changed files with 11 additions and 1 deletions
|
@ -812,7 +812,17 @@ (define-public lib2geom
|
||||||
(substitute* '("src/cython/CMakeLists.txt"
|
(substitute* '("src/cython/CMakeLists.txt"
|
||||||
"src/py2geom/CMakeLists.txt")
|
"src/py2geom/CMakeLists.txt")
|
||||||
(("PYTHON_LIB_INSTALL \"[^\"]*\"")
|
(("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)
|
(native-inputs `(("python" ,python-wrapper)
|
||||||
("googletest" ,googletest)
|
("googletest" ,googletest)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
|
|
Loading…
Reference in a new issue