Skip to content

builder-main: Enable ccache by default if it exists in SDK - #744

Merged
bbhtt merged 1 commit into
mainfrom
bbhtt/ccache-default
May 27, 2026
Merged

bbhtt merged 1 commit into
mainfrom
bbhtt/ccache-default

Conversation

@bbhtt

@bbhtt bbhtt commented May 23, 2026

Copy link
Copy Markdown
Collaborator

The old --ccache argument is deprecated and replaced by a --no-ccache argument. It will be removed in some future unstable versions.

Now it is enabled by default if ccache exists in SDK or --ccache is explicitly passed while disabled if it does not exist or --no-ccache is explicitly passed.

In the first case, this also improves the previous behaviour and prevents blindly creating dangling symlinks when ccache does not actually exist in the SDK but someone passed --ccache anyway.

See: #743
Fixes: #582

@bbhtt bbhtt added this to the 1.5.x milestone May 23, 2026
Comment thread src/builder-manifest.c Resolved
The old `--ccache` argument is deprecated and replaced by a
`--no-ccache` argument. It will be removed in some future unstable
versions.

Now it is enabled by default if `ccache` exists in SDK or `--ccache` is
explicitly passed while disabled if it does not exist or `--no-ccache`
is explicitly passed.

In the first case, this also improves the previous behaviour and
prevents blindly creating dangling symlinks when `ccache` does not
actually exist in the SDK but someone passed `--ccache` anyway.

See: #743
Fixes: #582
@bbhtt
bbhtt force-pushed the bbhtt/ccache-default branch from db2dd76 to 68f24c0 Compare May 27, 2026 13:44
@bbhtt
bbhtt merged commit 286d248 into main May 27, 2026
2 checks passed
@bbhtt
bbhtt deleted the bbhtt/ccache-default branch May 27, 2026 15:08
@Be-ing

Be-ing commented May 27, 2026

Copy link
Copy Markdown

Thanks for implementing my old feature request!

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.

make --ccache on by default

3 participants