gnu: python-cython: Support building on the Hurd.

* gnu/packages/python-xyz.scm (python-cython)[arguments]: In phase `check',
skip failing tests on the Hurd.
This commit is contained in:
Janneke Nieuwenhuizen 2023-09-14 23:12:23 +02:00
parent 1d5f1a5462
commit 0c1aa35404
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -142,6 +142,7 @@
;;; Copyright © 2023 Parnikkapore <poomklao@yahoo.com>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
;;; Copyright © c4droid <c4droid@foxmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -7129,6 +7130,11 @@ (define-public python-cython
,@(if (not (target-64bit?))
'("-x" "run.parallel")
'())
,@(if (system-hurd?)
'("-x" "test_class_ref"
"-x" "test_compiler_directives"
"-x" "test_lang_version")
'())
;; This test fails when running on 24 cores.
"-x" "cpp_stl_conversion")))))))
(home-page "https://cython.org/")