Skip to content

Make builds incremental by preserving source/build dirs#45

Merged
adeebshihadeh merged 12 commits intomasterfrom
incremental-builds
Mar 4, 2026
Merged

Make builds incremental by preserving source/build dirs#45
adeebshihadeh merged 12 commits intomasterfrom
incremental-builds

Conversation

@adeebshihadeh
Copy link
Contributor

@adeebshihadeh adeebshihadeh commented Mar 2, 2026

No description provided.

adeebshihadeh and others added 12 commits March 2, 2026 09:56
- Remove skip-if-exists checks so build systems handle incrementality
- Remove cleanup of source/build dirs at end of builds
- Add fetch+checkout for git packages to handle version changes
- Add .version file tracking for tarball packages
- Update CI to cache source and build directories
- Remove git clean from raylib that defeated incrementality
All packages now use the same git fetch+checkout pattern for version handling,
eliminating the need for .version file tracking.
- eigen: use git clone from gitlab
- imgui: use git clone for imgui, implot, rlimgui
- Remove dead VERSION_FILE code from libyuv/json11
- Keep version file tracking for gcc-arm-none-eabi and git-lfs (pre-built binaries)
CC="ccache cc" breaks cmake on manylinux (ccache 3.7) because cmake
uses ccache as the ASM compiler directly, causing "invalid option -D".

Split the approach:
- cmake packages: CMAKE_C_COMPILER_LAUNCHER=ccache (set in build.sh)
- make/configure packages: CC="ccache cc" (set in each build.sh)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The previous ccache approach baked CC="ccache cc" into cmake caches.
Bump v1->v2 to force fresh builds with the new compiler launcher approach.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adeebshihadeh adeebshihadeh merged commit 331d94a into master Mar 4, 2026
12 checks passed
@adeebshihadeh adeebshihadeh deleted the incremental-builds branch March 4, 2026 17:17
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.

1 participant