Skip to content

Commit 67881f9

Browse files
committed
windows: Always install ninja into the venv
Avoid build errors with it not found.
1 parent b8321b6 commit 67881f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/windows_build_wheels.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ def build_wheels(py_envs=DEFAULT_PY_ENVS, single_wheel=False,
264264

265265
# Compile wheels re-using standalone project and archive cache
266266
for py_env in py_envs:
267+
tools_venv = os.path.join(ROOT_DIR, "venv-" + py_env)
268+
pip_install(tools_venv, "ninja")
267269
build_wheel(py_env, single_wheel=single_wheel,
268270
cleanup=cleanup, wheel_names=wheel_names,
269271
cmake_options=cmake_options)

0 commit comments

Comments
 (0)