Skip to content

Support caching cpp compiled object files with sccache#1320

Merged
ReeceHumphreys merged 3 commits intodevelopfrom
feature/cpp-cache
Mar 10, 2026
Merged

Support caching cpp compiled object files with sccache#1320
ReeceHumphreys merged 3 commits intodevelopfrom
feature/cpp-cache

Conversation

@ReeceHumphreys
Copy link
Contributor

Description

Adds cpp compiled object file caching using sccache. This drastically improves build times as the cache restores non modified object files.

Verification

Installed and configured sccache
Performed a clean build with the time command prefixed.
Delete dist3
Perform another build with the time command
It's a lot faster. This will translate to CI being faster too.

Documentation

Added docs explaining how to configure it locally.

Future work

N/A

@ReeceHumphreys ReeceHumphreys self-assigned this Mar 10, 2026
@ReeceHumphreys ReeceHumphreys requested a review from a team as a code owner March 10, 2026 06:58
@ReeceHumphreys ReeceHumphreys added ci Continuous integration build Build system or compilation enhancement labels Mar 10, 2026
@ReeceHumphreys ReeceHumphreys moved this to 👀 In review in Basilisk Mar 10, 2026
@ReeceHumphreys ReeceHumphreys merged commit d65bc33 into develop Mar 10, 2026
7 checks passed
@ReeceHumphreys ReeceHumphreys deleted the feature/cpp-cache branch March 10, 2026 21:00
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Basilisk Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Build system or compilation enhancement ci Continuous integration

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Support caching of cpp compiled object files

2 participants