-
-
Notifications
You must be signed in to change notification settings - Fork 398
Now compile --only-compilation-database
will run all pre-* hooks
#1549
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
Merged
Conversation
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
Some platforms make sketch preparation see arduino#1547 Fix arduino#1547
c64ab27
to
88584e5
Compare
compile --only-compilation-database
will run all pre-* hooks
88584e5
to
bc4f7aa
Compare
umbynos
reviewed
Nov 16, 2021
per1234
requested changes
Nov 16, 2021
Co-authored-by: per1234 <accounts@perglass.com>
Co-authored-by: per1234 <accounts@perglass.com>
Co-authored-by: per1234 <accounts@perglass.com>
Co-authored-by: per1234 <accounts@perglass.com>
per1234
approved these changes
Nov 16, 2021
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.
I'm not knowledgeable about the compilation database subject, but I was able to reproduce #1547 for both esp32:esp32
and STMicroelectronics:stm32
boards platforms previously and am not able to reproduce it after the change proposed here.
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.
Please check if the PR fulfills these requirements
UPGRADING.md
has been updated with a migration guide (for breaking changes)To generate the "Compilation Database" some platforms requires to run the pre-build hooks to actually have a compilable target.
The pre-hooks are skipped.
The pre-hooks are now executed.
It may introduce some regression if a platform requires skipping pre-hooks to actually build a sketch. This is very unlikely BTW, since this would make fail also the full compile.
The post hooks and the compiler commands are still SKIPPED.
Fix #1547