-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Doc] Add --force-overwrite option to generate_cmake_presets.py #24375
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
[Doc] Add --force-overwrite option to generate_cmake_presets.py #24375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a --force-overwrite
option to the generate_cmake_presets.py
script, allowing for non-interactive overwriting of existing CMakeUserPresets.json
files. The implementation is straightforward and correct, using argparse
to handle the new command-line flag. The logic correctly bypasses the user prompt when the flag is present, which is particularly useful for automated environments. The accompanying documentation in docs/contributing/incremental_build.md
is also updated clearly and accurately to reflect this new functionality. The changes are well-contained and I found no issues.
55122d1
to
acc432e
Compare
cc @mgoin for review. Thanks! |
acc432e
to
ea8af50
Compare
Signed-off-by: elvischenv <219235043+elvischenv@users.noreply.github.com>
ea8af50
to
2229c6c
Compare
@tlrmchlsmth / @LucasWilkinson could you take a look at this? It should be a quick review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, LGTM!
…-project#24375) Signed-off-by: elvischenv <219235043+elvischenv@users.noreply.github.com>
…-project#24375) Signed-off-by: elvischenv <219235043+elvischenv@users.noreply.github.com> Signed-off-by: charlifu <charlifu@amd.com>
Purpose
Add --force-overwrite option to generate_cmake_presets.py.
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.md
andexamples
for a new model.