-
-
Couldn't load subscription status.
- Fork 431
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
Conversation
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
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>
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.
Please check if the PR fulfills these requirements
UPGRADING.mdhas 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