@@ -142,22 +142,32 @@ tracker = "https://github.com/numpy/numpy/issues"
142
142
# build wheels for in CI are controlled in `.github/workflows/wheels.yml` and
143
143
# `tools/ci/cirrus_wheels.yml`.
144
144
build-frontend = " build"
145
- skip = " *_i686 *_ppc64le *_s390x *_universal2"
145
+ skip = [ " *_i686" , " *_ppc64le" , " *_s390x" , " *_universal2" ]
146
146
before-build = " bash {project}/tools/wheels/cibw_before_build.sh {project}"
147
- # The build will use openblas64 everywhere, except on arm64 macOS >=14.0 (uses Accelerate)
148
- config-settings = " setup-args=-Duse-ilp64=true setup-args=-Dallow-noblas=false build-dir=build"
149
147
before-test = " pip install -r {project}/requirements/test_requirements.txt"
150
148
test-command = " bash {project}/tools/wheels/cibw_test_command.sh {project}"
151
149
enable = [" cpython-freethreading" , " pypy" , " cpython-prerelease" ]
152
150
151
+ # The build will use openblas64 everywhere, except on arm64 macOS >=14.0 (uses Accelerate)
152
+ [tool .cibuildwheel .config-settings ]
153
+ setup-args = [" -Duse-ilp64=true" , " -Dallow-noblas=false" ]
154
+ build-dir = " build"
155
+
153
156
[tool .cibuildwheel .linux ]
154
157
manylinux-x86_64-image = " manylinux_2_28"
155
158
manylinux-aarch64-image = " manylinux_2_28"
156
159
musllinux-x86_64-image = " musllinux_1_2"
157
160
musllinux-aarch64-image = " musllinux_1_2"
158
161
159
162
[tool .cibuildwheel .pyodide ]
160
- config-settings = " build-dir=build setup-args=--cross-file=$PWD/tools/ci/emscripten/emscripten.meson.cross setup-args=-Dblas=none setup-args=-Dlapack=none"
163
+ before-test = " pip install -r {project}/requirements/emscripten_test_requirements.txt"
164
+ # Pyodide ensures that the wheels are already repaired by auditwheel-emscripten
165
+ repair-wheel-command = " "
166
+ test-command = " python -m pytest --pyargs numpy -m 'not slow'"
167
+
168
+ [tool .cibuildwheel .pyodide .config-settings ]
169
+ build-dir = " build"
170
+ setup-args = [" --cross-file=$PWD/tools/ci/emscripten/emscripten.meson.cross" , " -Dblas=none" , " -Dlapack=none" ]
161
171
162
172
[tool .cibuildwheel .linux .environment ]
163
173
# RUNNER_OS is a GitHub Actions specific env var; define it here so it works on Cirrus CI too
@@ -178,22 +188,16 @@ repair-wheel-command = [
178
188
]
179
189
180
190
[tool .cibuildwheel .windows ]
181
- config-settings = " setup-args= --vsenv setup-args=- Dallow-noblas=false build-dir=build"
191
+ config-settings = { setup-args = [ " --vsenv" , " - Dallow-noblas=false" ], build-dir =" build" }
182
192
repair-wheel-command = " bash -el ./tools/wheels/repair_windows.sh {wheel} {dest_dir}"
183
193
# This does not work, use CIBW_ENVIRONMENT_WINDOWS
184
194
environment = {PKG_CONFIG_PATH =" ./.openblas" }
185
195
186
196
[[tool .cibuildwheel .overrides ]]
187
- select = " *-win32"
188
- config-settings = " setup-args= --vsenv setup-args=- Dallow-noblas=true build-dir=build"
197
+ select = [ " *-win32" ]
198
+ config-settings = { setup-args = [ " --vsenv" , " - Dallow-noblas=true" ], build-dir =" build" }
189
199
repair-wheel-command = " "
190
200
191
- [[tool .cibuildwheel .overrides ]]
192
- select = " *pyodide*"
193
- before-test = " pip install -r {project}/requirements/emscripten_test_requirements.txt"
194
- # Pyodide ensures that the wheels are already repaired by auditwheel-emscripten
195
- repair-wheel-command = " "
196
- test-command = " python -m pytest --pyargs numpy -m 'not slow'"
197
201
198
202
[tool .meson-python ]
199
203
meson = ' vendored-meson/meson/meson.py'
0 commit comments