mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: lib2geom: Disable broken test on aarch64.
* gnu/packages/graphics.scm (lib2geom)[arguments]: Conditionally disable "elliptical-arc-test". Change-Id: Id6bbcb9c94831daa65c9596f080c194392d08b42
This commit is contained in:
parent
95db62d87d
commit
f9f49a70f2
1 changed files with 18 additions and 10 deletions
|
@ -920,16 +920,24 @@ exception-handling library.")
|
||||||
(("PYTHON_LIB_INSTALL \"[^\"]*\"")
|
(("PYTHON_LIB_INSTALL \"[^\"]*\"")
|
||||||
(format #f "PYTHON_LIB_INSTALL ~s"
|
(format #f "PYTHON_LIB_INSTALL ~s"
|
||||||
(python:site-packages inputs outputs))))))
|
(python:site-packages inputs outputs))))))
|
||||||
#$@(if (target-x86-32?)
|
#$@(cond
|
||||||
#~((add-after 'unpack 'skip-faulty-test
|
((target-x86-32?)
|
||||||
(lambda _
|
#~((add-after 'unpack 'skip-faulty-test
|
||||||
;; This test fails on i686 when comparing floating point
|
(lambda _
|
||||||
;; values, probably due to excess precision. However,
|
;; This test fails on i686 when comparing floating point
|
||||||
;; '-fexcess-precision' is not implemented for C++ in
|
;; values, probably due to excess precision. However,
|
||||||
;; GCC 10 so just skip it.
|
;; '-fexcess-precision' is not implemented for C++ in
|
||||||
(substitute* "tests/CMakeLists.txt"
|
;; GCC 10 so just skip it.
|
||||||
(("bezier-test") "")))))
|
(substitute* "tests/CMakeLists.txt"
|
||||||
#~()))))
|
(("bezier-test") ""))))))
|
||||||
|
;; See https://gitlab.com/inkscape/lib2geom/-/issues/63
|
||||||
|
((target-aarch64?)
|
||||||
|
#~((add-after 'unpack 'fix-aarch64-faulty-test
|
||||||
|
(lambda _
|
||||||
|
(substitute* "tests/CMakeLists.txt"
|
||||||
|
(("elliptical-arc-test") ""))))))
|
||||||
|
(else
|
||||||
|
#~())))))
|
||||||
(native-inputs (list python-wrapper googletest pkg-config))
|
(native-inputs (list python-wrapper googletest pkg-config))
|
||||||
(inputs (list cairo python-pycairo double-conversion glib gsl))
|
(inputs (list cairo python-pycairo double-conversion glib gsl))
|
||||||
(propagated-inputs (list boost)) ;included in 2geom/pathvector.h
|
(propagated-inputs (list boost)) ;included in 2geom/pathvector.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue