|
1 | 1 | # This file configures wheels compilation for `cibuilwheel` for NumKong CPython bindings. |
2 | 2 | # On a good day it will produce: |
3 | | -# - `manylinux` and `musllinux` vectorized wheels for Linux on x86_64, aarch64, riscv64; |
| 3 | +# - `manylinux` and `musllinux` vectorized wheels for Linux on x86_64, aarch64; |
4 | 4 | # - `manylinux` and `musllinux` wheels for Linux on i686, ppc64le, s390x; |
5 | 5 | # - `macos` wheels for x86_64, arm64; |
6 | 6 | # - `windows` wheels for AMD64, ARM64. |
@@ -77,11 +77,16 @@ repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}" |
77 | 77 | # - for `manylinux`: https://quay.io/search?q=manylinux |
78 | 78 | # - for `musllinux`: https://quay.io/search?q=musllinux |
79 | 79 | manylinux-aarch64-image = "manylinux_2_28" |
80 | | -manylinux-riscv64-image = "manylinux_2_39" |
81 | 80 | manylinux-x86_64-image = "manylinux_2_28" |
82 | 81 | musllinux-aarch64-image = "musllinux_1_2" |
83 | | -musllinux-riscv64-image = "musllinux_1_2" |
84 | 82 | musllinux-x86_64-image = "musllinux_1_2" |
| 83 | +# RISC-V wheel uploads are temporarily disabled. |
| 84 | +# The official PyPA riscv64 images currently provide LLVM 20 packages, while the |
| 85 | +# portable `rv64gcv` baseline plus richer RISC-V kernels now requires Clang 23. |
| 86 | +# Keep the image names here as comments until we have either custom images or a |
| 87 | +# packaged LLVM 23 path for both manylinux and musllinux. |
| 88 | +# manylinux-riscv64-image = "manylinux_2_39" |
| 89 | +# musllinux-riscv64-image = "musllinux_1_2" |
85 | 90 |
|
86 | 91 | # On CentOS we have to use `yum`. |
87 | 92 | # The healthy version would be: `apt-get update && apt-get install -y libc6-dev wget python3-dev`. |
@@ -172,34 +177,32 @@ environment.NK_TARGET_X86_ = "0" |
172 | 177 | inherit.environment = "append" |
173 | 178 | select = "*-macos*_arm64" |
174 | 179 |
|
175 | | -# RISC-V 64-bit builds |
176 | | -# The `manylinux_2_39` riscv64 image uses `dnf` instead of `yum`. |
177 | | -# GCC/binutils in this image don't support all requested RISC-V vector extensions. |
178 | | -# Install LLVM and build with clang + lld for full `rv64gcv_zvfh_zvfbfwma_zvbb`. |
179 | | -[[tool.cibuildwheel.overrides]] |
180 | | -before-all = "dnf update -y && dnf install -y glibc-devel wget python3-devel clang lld" |
181 | | -environment.CC = "clang" |
182 | | -environment.CXX = "clang++" |
183 | | -environment.LDFLAGS = "-fuse-ld=lld" |
184 | | -environment.NK_TARGET_ARM_ = "0" |
185 | | -environment.NK_TARGET_RISCV_ = "1" |
186 | | -environment.NK_TARGET_X86_ = "0" |
187 | | -inherit.environment = "append" |
188 | | -select = "*-manylinux*_riscv64" |
189 | | - |
190 | | -# The default `musllinux_1_2` riscv64 image ships GCC which doesn't support |
191 | | -# all requested RISC-V vector extensions (zvfbfwma, zvbb). |
192 | | -# Install LLVM and build with clang + lld, mirroring the manylinux override. |
193 | | -[[tool.cibuildwheel.overrides]] |
194 | | -before-all = "apk add --update wget python3-dev clang lld" |
195 | | -environment.CC = "clang" |
196 | | -environment.CXX = "clang++" |
197 | | -environment.LDFLAGS = "-fuse-ld=lld" |
198 | | -environment.NK_TARGET_ARM_ = "0" |
199 | | -environment.NK_TARGET_RISCV_ = "1" |
200 | | -environment.NK_TARGET_X86_ = "0" |
201 | | -inherit.environment = "append" |
202 | | -select = "*-musllinux*_riscv64" |
| 180 | +# RISC-V 64-bit wheels are temporarily disabled. |
| 181 | +# Keep the old overrides commented out as a breadcrumb for re-enabling the |
| 182 | +# release path once an official LLVM 23 package source is available inside the |
| 183 | +# PyPA riscv64 images, or once we switch to custom images with LLVM 23 baked in. |
| 184 | +# |
| 185 | +# [[tool.cibuildwheel.overrides]] |
| 186 | +# before-all = "dnf update -y && dnf install -y glibc-devel wget python3-devel clang lld" |
| 187 | +# environment.CC = "clang" |
| 188 | +# environment.CXX = "clang++" |
| 189 | +# environment.LDFLAGS = "-fuse-ld=lld" |
| 190 | +# environment.NK_TARGET_ARM_ = "0" |
| 191 | +# environment.NK_TARGET_RISCV_ = "1" |
| 192 | +# environment.NK_TARGET_X86_ = "0" |
| 193 | +# inherit.environment = "append" |
| 194 | +# select = "*-manylinux*_riscv64" |
| 195 | +# |
| 196 | +# [[tool.cibuildwheel.overrides]] |
| 197 | +# before-all = "apk add --update wget python3-dev clang lld" |
| 198 | +# environment.CC = "clang" |
| 199 | +# environment.CXX = "clang++" |
| 200 | +# environment.LDFLAGS = "-fuse-ld=lld" |
| 201 | +# environment.NK_TARGET_ARM_ = "0" |
| 202 | +# environment.NK_TARGET_RISCV_ = "1" |
| 203 | +# environment.NK_TARGET_X86_ = "0" |
| 204 | +# inherit.environment = "append" |
| 205 | +# select = "*-musllinux*_riscv64" |
203 | 206 |
|
204 | 207 | # Pyodide / Emscripten WASM builds |
205 | 208 | # The Pyodide venv creates Python-script entry points (like `pytest`) that can't |
|
0 commit comments