From 0c1aa354048f82023e6d2043bfecc4fd58bc9b58 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 14 Sep 2023 23:12:23 +0200 Subject: [PATCH] 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. --- gnu/packages/python-xyz.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dd43fb3cd1..2230310a03 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -142,6 +142,7 @@ ;;; Copyright © 2023 Parnikkapore ;;; Copyright © 2023 Foundation Devices, Inc. ;;; Copyright © c4droid +;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; ;;; 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/")