Skip to content

Rebuild times #11

@aly-fly

Description

@aly-fly

I have a medium complexity project on ESP32 with quite a few libraries in use.
The problem is, any time the file system changes in the PlatformIO folder structure it rebuilds all the libraries and core. This takes ages. Typically 10 times longer than if only one source file is recompiled.
I have removed all the code that creates and deleted the file .version_no_increment, and cut the build time back to original fast operations.

I recommend that instead of creating and removing the mentioned file, you keep the file system intact, use one static file with changing contents. Write a flag into the file, whether version increment is required or not.

Metadata

Metadata

Assignees

Labels

keepdon't stale this issue

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions