Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@justinchuby
Copy link
Member

@justinchuby justinchuby commented Sep 17, 2025

Signed-off-by: cyy [email protected]

### Description
<!-- - Describe your changes. -->
The CMake file is refined to avoid generating proto files at each build
time. Before the change we used `add_custom_target` and the proto files
were specified as by-produces. As a result, they were always generated
each time CMake was executed. Now we use `add_custom_command` to
explicitly specify these output files by its `OUTPUT` option, CMake can
look at them and skip the command if they exist.

### Motivation and Context
To make the builds more efficient and stable.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

---------

Signed-off-by: cyy <[email protected]>
@justinchuby justinchuby requested a review from a team as a code owner September 17, 2025 23:30
@github-project-automation github-project-automation bot moved this to In progress in PR Tracker Sep 17, 2025
@github-project-automation github-project-automation bot moved this from In progress to Done in PR Tracker Sep 17, 2025
@codecov
Copy link

codecov bot commented Sep 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (rel-1.19.1@57b9c6a). Learn more about missing BASE report.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@              Coverage Diff              @@
##             rel-1.19.1    #7306   +/-   ##
=============================================
  Coverage              ?   53.76%           
=============================================
  Files                 ?      512           
  Lines                 ?    32199           
  Branches              ?     2944           
=============================================
  Hits                  ?    17311           
  Misses                ?    14119           
  Partials              ?      769           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justinchuby justinchuby reopened this Sep 17, 2025
@github-project-automation github-project-automation bot moved this from Done to In progress in PR Tracker Sep 17, 2025
@justinchuby justinchuby added this to the 1.19.1 milestone Sep 17, 2025
@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in PR Tracker Sep 17, 2025
@justinchuby justinchuby merged commit 425f299 into rel-1.19.1 Sep 17, 2025
40 of 64 checks passed
@justinchuby justinchuby deleted the justinchu/pick-68bb902ab41faa452acfd3a91a4eb6675d747f6c branch September 17, 2025 23:49
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in PR Tracker Sep 17, 2025
@justinchuby justinchuby removed this from the 1.19.1 milestone Sep 22, 2025
@yuanyao-nv yuanyao-nv mentioned this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants