summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2025-07-19 14:15:18 +0200
committerAndreas Enge <andreas@enge.fr>2025-07-19 17:40:39 +0200
commite743bf77e5642a183a230559f86bf188208debb1 (patch)
treeca8030c2964331bd922cd98f92705937662f76f2 /gnu/packages/python-xyz.scm
parent59027f2a3f84db5ad567cb5e9d571468b07ca70b (diff)
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?
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2323fa10d9..a19987e487 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,