build: cache compiler outputs with ccache#1023
Draft
jaagut wants to merge 1 commit into
Draft
Conversation
jaagut
force-pushed
the
agent/build-benchmark-ccache
branch
from
July 17, 2026 20:32
bb7c034 to
74a37df
Compare
Member
|
While faster build times would be nice I am worried about the hidden state it introduces and that a clean build for example might fail even if the ci on a pull request passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable ccache for C and C++ workspace builds and persist compiler outputs in the benchmark workflow.
Proposed changes
pixi.lockfor both supported architectures and environments.Impact
Repeated builds can reuse compiler output without changing the generated program. The first cold build remains representative, while subsequent CI runs and the touched-source incremental build can report cache hits.
Stack
This PR is based on
agent/build-benchmark-ninja.Validation
bitbots_head_moversuccessfully through the Ninja and ccache launchers.pixi.tomland rangit diff --check.