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

[cbuild] Reduce default verbosity when using cbuild2cmake mode #236

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

brondani
Copy link
Collaborator

Aligned with Open-CMSIS-Pack/cbuild2cmake#135 improvements

Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link
Contributor

Test Results

  4 files  ±0   44 suites  ±0   6s ⏱️ -1s
202 tests ±0  202 ✅ ±0  0 💤 ±0  0 ❌ ±0 
808 runs  ±0  808 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit ac1cea2. ± Comparison against base commit d74fe33.

@brondani brondani marked this pull request as ready for review June 14, 2024 14:54
@brondani brondani requested a review from soumeh01 June 14, 2024 14:54
Copy link

codeclimate bot commented Jun 14, 2024

Code Climate has analyzed commit ac1cea2 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 66.6% (50% is the threshold).

This pull request will bring the total coverage in the repository to 79.7% (0.0% change).

View more on Code Climate.

@brondani brondani merged commit e005e73 into main Jun 17, 2024
16 checks passed
@brondani brondani deleted the cbuild-reduce-default-verbosity-cbuild2cmake branch June 17, 2024 08:40
@@ -212,6 +212,10 @@ func (b CbuildIdxBuilder) Build() error {
args = append(args, "--target", b.BuildContext+"-database")
}

if b.Options.Generator == "Ninja" && !(b.Options.Debug || b.Options.Verbose) {
args = append(args, "--", "--quiet")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brondani Does this change mean
args = append(args, "--quiet")

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it means -- --quiet is added to args.
So --quiet is passed to the underlying build system, in this case Ninja, for example:

cmake --build <directory> --target <target> -- --quiet

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