Incremental Compilation #10

Closed
opened 2026-03-23 10:30:51 -06:00 by sfrembling · 0 comments
Owner

Currently the entire project recompiles if any source file changes. Instead, each .c file should be compiled to its own .o object file in target//, with a hash stored per file. On rebuild, only files whose hash has changed get recompiled, and the final link step is run if any object file changed. This will make build times scale reasonably as projects grow.

Currently the entire project recompiles if any source file changes. Instead, each .c file should be compiled to its own .o object file in target/<profile>/, with a hash stored per file. On rebuild, only files whose hash has changed get recompiled, and the final link step is run if any object file changed. This will make build times scale reasonably as projects grow.
sfrembling added the enhancement label 2026-03-23 10:30:55 -06:00
sfrembling added this to the v1.1.0 milestone 2026-03-23 11:40:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sfrembling/pallet#10