From e743bf77e5642a183a230559f86bf188208debb1 Mon Sep 17 00:00:00 2001 From: Liliana Marie Prikler Date: Sat, 19 Jul 2025 14:15:18 +0200 Subject: [PATCH] gnu: python-cython-next: Fix build on i686. * gnu/packages/python-xyz.scm (python-cython-3)[native-inputs]: Use gcc-11 when target-x86-32? --- gnu/packages/python-xyz.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2323fa10d9f856aa9fc3942835ca61a2d004475f..a19987e4875aa6d90bb351d86c339e2a395232b6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10050,10 +10050,14 @@ writing C extensions for Python as easy as Python itself.") (when tests? (apply invoke "python" "runtests.py" test-flags))))))) (native-inputs - (list gcc-13 ;does not compile with gcc-14 - libxcrypt - python-setuptools - python-wheel)) + ;; does not compile with gcc-14 + (list + (cond + ((target-x86-32?) gcc-11) + (else gcc-13)) + libxcrypt + python-setuptools + python-wheel)) (properties '()))) ;; NOTE: when upgrading numpy please make sure that python-numba,