Skip to content

Commit c4e0718

Browse files
authored
[CI] Ignore existing DLLs in Windows wheel repair (#635)
Windows wheel repair started failing under the current cibuildwheel/delvewheel stack with: ```text FileNotFoundError: Unable to find library: tvm_ffi_testing.dll ``` `tvm_ffi_testing.dll` is already shipped inside the wheel under `tvm_ffi/lib/`. Configure the Windows repair command to pass `--ignore-existing`, so delvewheel does not try to rediscover DLLs that are already bundled in the wheel while repairing `tvm_ffi/core*.pyd`. Validation: - Manually triggered Windows wheel workflow on `tqchen/tvm-ffi:main` passed with this change. - `pre-commit run --all-files` passed locally.
1 parent fcd5ab4 commit c4e0718

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ environment = { MACOSX_DEPLOYMENT_TARGET = "10.14" }
253253

254254
[tool.cibuildwheel.windows]
255255
archs = ["AMD64"]
256+
repair-wheel-command = "delvewheel repair --ignore-existing -w {dest_dir} -v {wheel}"
256257

257258
[tool.ty.environment]
258259
python-version = "3.9"

0 commit comments

Comments
 (0)