feat(build): add progress output to config_brpc.sh#3262
Merged
chenBright merged 1 commit intoapache:masterfrom Apr 8, 2026
Merged
feat(build): add progress output to config_brpc.sh#3262chenBright merged 1 commit intoapache:masterfrom
chenBright merged 1 commit intoapache:masterfrom
Conversation
The configuration script previously ran silently with no visible output, making it hard to tell whether it was working or what it detected. Add colored progress messages for each stage: system info, dependency discovery, output file generation, and a final configuration summary.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The configuration script previously ran silently with no visible output, making it hard to tell whether it was working or what it detected. Add colored progress messages for each stage: system info, dependency discovery, output file generation, and a final configuration summary.
What problem does this PR solve?
Issue Number: resolve
Problem Summary: Running config_brpc.sh produces no visible output during configuration, leaving users unable to tell if the script is working, what dependencies were detected, or whether configuration succeeded.
What is changed and the side effects?
Changed:
output file generation, and a final configuration summary.
Side effects:
Performance effects: Negligible. Only adds a few printf calls.
Breaking backward compatibility: None. The script's exit codes, generated config.mk, and src/butil/config.h are identical. Scripts that parse stderr are unaffected since all new output goes to stdout.
Breaking backward compatibility:
Check List: