-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Use the do_ci.sh
script for refreshing the compilation database
#37668
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Ahmad Karimi <[email protected]>
Signed-off-by: Ahmad Karimi <[email protected]>
/assign @phlax |
im gonna hand this over to @wbpcode as he has more context here (and cant test etc) |
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.
LGTM. But let's me to take a try when I get a little free time. Thanks.
/wait |
Signed-off-by: Ahmad Karimi <[email protected]>
The change should be applied anywhere we call the |
Commit Message: use do_ci.sh for refreshing the compilation db
Additional Description:
Details are explained in this Github comment.
When refreshing the compilation database, the
proto_format.sh
andgen_compilation_database.py
scripts require the--config=clang
and--config=libc++
flags. Thedo_ci.sh
script provides arefresh_compdb
subcommand that automatically includes these flags.This PR modifies the
.vscode/tasks.json
file to useci/do_ci.sh refresh_compdb
instead ofrefresh_compdb.sh
to refresh the compilation database used by VSCode.Risk Level: Low