Skip to content

Prevent rewriting core_version.h if content unchanged #6414

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
merged 1 commit into from
Aug 12, 2019

Conversation

dok-net
Copy link
Contributor

@dok-net dok-net commented Aug 12, 2019

The PR compares old and new and suppresses file writing if nothing changes.
This stops builds from oscillating between 5s and 20s, when there is NO change to the core and "core libraries".

@dok-net
Copy link
Contributor Author

dok-net commented Aug 12, 2019

@d-a-v According to history, you're the commiter of previous changes to this file, could you please review?

Copy link
Collaborator

@earlephilhower earlephilhower left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks!

@earlephilhower earlephilhower merged commit f2bac1c into esp8266:master Aug 12, 2019
@dok-net dok-net deleted the coreversionfile branch August 18, 2019 11:34
mcspr added a commit to mcspr/esp8266-Arduino that referenced this pull request May 27, 2025
update packaging script w/ new arguments

rewrite ci build pattern to only rewrite core_version.h once per job
restore behaviour from esp8266#6414 for other cases
mcspr added a commit that referenced this pull request May 28, 2025
…9250)

update packaging script w/ new arguments

rewrite ci build pattern to only rewrite core_version.h once per job
restore behaviour from #6414 for other cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants