Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract out ProgressPrinter #1190

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

yukawa
Copy link
Collaborator

@yukawa yukawa commented Feb 18, 2025

Description

This is a preparation before supporting clang-cl for Windows (#1179).

Our plan is to download LLVM for Windows in update_deps.py, and in that process we would like to use ProgressPrinter to show progress for both downloading the archive and extracting it.

To avoid code duplicate between build_qt.py and update_deps.py, let's extract ProgressPrinter into a new file first.

This is a mechanical refactoring commit. There must be no observable behavior change.

Issue IDs

Steps to test new behaviors (if any)

  • OS: Windows 11 24H2
  • Steps:
    1. Confirm that both build_qt.py and update_deps.py work as they used to.

This is a preparation before supporting 'clang-cl' for Windows (google#1179).

Our plan is to download LLVM for Windows in 'update_deps.py', and in
that process we would like to use 'ProgressPrinter' to show progress for
both downloading the archive and extracting it.

To avoid code duplicate between 'build_qt.py' and 'update_deps.py',
let's extract 'ProgressPrinter' into a new file first.

This is a mechanical refactoring commit. There must be no observable
behavior change.
@hiroyuki-komatsu hiroyuki-komatsu merged commit 5c0b4bd into google:master Feb 21, 2025
1 check passed
@yukawa yukawa deleted the extract_progress_printer branch February 21, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants