Skip to content

Commit

Permalink
Add logs for abi3 wheel reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Apr 23, 2022
1 parent 41cf0b7 commit 7a4a5d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cibuildwheel/linux.py
Expand Up @@ -179,6 +179,8 @@ def build_on_docker(

abi3_wheel = find_compatible_abi3_wheel(built_wheels, config.identifier)
if abi3_wheel:
log.step_end()
print(f"SKIP building wheel. Using previously built wheel {abi3_wheel}")
repaired_wheels = [abi3_wheel]
else:

Expand Down
2 changes: 2 additions & 0 deletions cibuildwheel/macos.py
Expand Up @@ -323,6 +323,8 @@ def build(options: Options, tmp_path: Path) -> None:

abi3_wheel = find_compatible_abi3_wheel(built_wheels, config.identifier)
if abi3_wheel:
log.step_end()
print(f"SKIP building wheel. Using previously built wheel {abi3_wheel}")
repaired_wheel = abi3_wheel
else:
if build_options.before_build:
Expand Down
2 changes: 2 additions & 0 deletions cibuildwheel/windows.py
Expand Up @@ -279,6 +279,8 @@ def build(options: Options, tmp_path: Path) -> None:

abi3_wheel = find_compatible_abi3_wheel(built_wheels, config.identifier)
if abi3_wheel:
log.step_end()
print(f"SKIP building wheel. Using previously built wheel {abi3_wheel}")
repaired_wheel = abi3_wheel
else:
# run the before_build command
Expand Down

0 comments on commit 7a4a5d2

Please sign in to comment.