- Notifications
You must be signed in to change notification settings - Fork13.3k
Tools - mkbuildoptglobals refactoring & attempt to fix caching#9249
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
mcspr wants to merge22 commits intoesp8266:masterChoose a base branch frommcspr:buildopts/refactoring
base:master
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
Uh oh!
There was an error while loading.Please reload this page.
Open
Changes from1 commit
Commits
Show all changes
22 commits Select commitHold shift + click to select a range
8253d94 Tools - mkbuildoptglobals refactoring & attempt to fix caching
mcspr8cdc906 compile args typo
mcspreac15af build_out & no explicit clean
mcspr60689bc drop partial data, handle missing closing comment
mcspr9be7e67 check cache state dir state in ci
mcsprc3b64a2 missing file
mcspra527244 typo, fix err trap for "test ...something..."
mcsprfe3102f mention indirect and direct dependency on globals .h contents
mcsprd72ca55 update doc
mcspr35c6221 update docs
mcsprd1c9c7b restore command-line opts info, newlined debugging
mcspra3f9218 mkdir parent when writing
mcspr56bac44 useless from None
mcspreb1a542 multiple quoting fixes from sc & naming
mcspra9afc33 spacing
mcspra91da86 $cache_dir & $root quoting
mcspr7f06e65 debug flag passed as fqbn
mcspr664e9d8 direct types
mcspr78380e8 warnings fix v2, propogate errors instead
mcspr2e63e3e debugging in ci tool checks
mcspre023926 invalid debug lvl=
mcspr0c67f33 rebase unused var
mcsprFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
NextNext commit
Tools - mkbuildoptglobals refactoring & attempt to fix caching
Optional include for build-dir header to exclude it from core.a when nobuild opts are created / used. Preventive reads before writes, tooPlus, missing change to makecorever.py doing read before writePrefer to use --output-dir in scripts, tests/device *must* beout-of-tree for caching to work properly (avoid changing core nested dirs)Assume 'aggressive caching' is normal mode of operation, no need for special treatment(can be checked by looking at .d files in the build dir)Even CI uses arduino-cli ~/.cache/arduino/{sketch,core} for buildingAllow sketches without globals.h to share core.a, rebuild otherwise(same sketch cache is retained, core.a & .o's reused)Drop manual logging in favour of 'import logging'. Arduino-CLI might still needtweaks in debug mode, though. Output flushing does not always happen promptly.Allow multiple entries for the same name, which are then merged.Allow spaces between @ and the signature words.Allow to use line right after signature.Syntax warnings show relevant snippet from globals.h- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit8253d946fcf97811adc63bbae34ea1710ceeeecc
There are no files selected for viewing
2 changes: 1 addition & 1 deletion.github/workflows/build-host.yml
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
20 changes: 18 additions & 2 deletions.github/workflows/build-ide.yml
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
14 changes: 8 additions & 6 deletionsplatform.txt
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
3 changes: 1 addition & 2 deletionstests/common.sh
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
52 changes: 35 additions & 17 deletionstests/device/Makefile
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
1 change: 0 additions & 1 deletiontests/device/test_libc/test_libc.ino.globals.h
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| /*@create-file:build.opt@ | ||
| -fno-builtin | ||
| */ |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.