Skip to content

Build: add an opt-in macOS ccache preset - #1767

Open
dayfine wants to merge 1 commit into
PokemonAutomation:mainfrom
dayfine:build/macos-ccache-preset
Open

dayfine wants to merge 1 commit into
PokemonAutomation:mainfrom
dayfine:build/macos-ccache-preset

Conversation

@dayfine

@dayfine dayfine commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

New worktrees and branch switches on Mac meant a full 13–14 minute rebuild. This adds an opt-in macos-ccache preset (RelWithDebInfo plus a shared 5 GB ccache with checkout-relative paths, so worktrees reuse each other's compiles) and a short guide linked from the Mac build instructions; other presets and CI are unchanged. Tested on Apple Silicon: a second worktree at the same revision built in 41 s with 1,601 of 1,607 compiles from the cache, and a one-file edit rebuilt and linked in 21 s.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E

@dayfine
dayfine marked this pull request as draft October 29, 2026 18:01
@dayfine
dayfine marked this pull request as ready for review October 29, 2026 18:13
New worktrees and branch switches on Mac rebuild everything from scratch.
The macos-ccache preset is RelWithDebInfo plus a shared 10 GB ccache with
checkout-relative paths, so worktrees reuse each other's compiles. A short
guide is linked from the Mac build instructions. Other presets and CI are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AKYzhrMnPK61XHWEch4a6E
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