@@ -142,7 +142,6 @@ tracker = "https://github.com/numpy/numpy/issues"
142
142
# `tools/ci/cirrus_wheels.yml`.
143
143
build-frontend = " build"
144
144
skip = " cp36-* cp37-* cp-38* pp37-* *-manylinux_i686 *_ppc64le *_s390x"
145
- build-verbosity = " 3"
146
145
before-build = " bash {project}/tools/wheels/cibw_before_build.sh {project}"
147
146
# The build will use openblas64 everywhere, except on arm64 macOS >=14.0 (uses Accelerate)
148
147
config-settings = " setup-args=-Duse-ilp64=true setup-args=-Dallow-noblas=false build-dir=build"
@@ -154,22 +153,27 @@ manylinux-x86_64-image = "manylinux2014"
154
153
manylinux-aarch64-image = " manylinux2014"
155
154
musllinux-x86_64-image = " musllinux_1_1"
156
155
# RUNNER_OS is a GitHub Actions specific env var; define it here so it works on Cirrus CI too
157
- environment = {RUNNER_OS =" Linux" }
156
+ [tool .cibuildwheel .linux .environment ]
157
+ RUNNER_OS =" Linux"
158
+ PKG_CONFIG_PATH =" /project/.openblas"
159
+ LD_LIBRARY_PATH =" $LD_LIBRARY_PATH:/project/.openblas/lib"
158
160
159
161
[tool .cibuildwheel .macos ]
160
162
# universal2 wheels are not supported (see gh-21233), use `delocate-fuse` if you need them
161
163
archs = " x86_64 arm64"
162
164
test-skip = " *_universal2:arm64"
163
- environment = {RUNNER_OS =" macOS" }
165
+ [tool .cibuildwheel .macos .environment ]
166
+ RUNNER_OS =" macOS"
167
+ PKG_CONFIG_PATH =" /project/.openblas"
168
+ DYLD_LIBRARY_PATH =" $DYLD_LIBRARY_PATH:/project/.openblas/lib"
164
169
165
170
[tool .cibuildwheel .windows ]
166
- environment = {PKG_CONFIG_PATH =" C:/opt/64/lib/pkgconfig " }
167
- config-settings = " setup-args=--vsenv setup-args=-Duse-ilp64=true setup-args=-Dblas=openblas setup-args=-Dlapack=openblas"
171
+ environment = {PKG_CONFIG_PATH =" ./.openblas " }
172
+ config-settings = " setup-args=--vsenv setup-args=-Duse-ilp64=true setup-args=-Dblas=openblas setup-args=-Dlapack=openblas -Dallow-noblas=false "
168
173
repair-wheel-command = " bash ./tools/wheels/repair_windows.sh {wheel} {dest_dir}"
169
174
170
175
[[tool .cibuildwheel .overrides ]]
171
176
select = " *-win32"
172
- environment = {PKG_CONFIG_PATH =" /opt/32/lib/pkgconfig" }
173
177
config-settings = " setup-args=--vsenv setup-args=-Dallow-noblas=true"
174
178
repair-wheel-command = " "
175
179
0 commit comments