Skip to content

disable ccache by default when building llvm libraries#4885

Open
lum1n0us wants to merge 4 commits intobytecodealliance:mainfrom
lum1n0us:fix/disable_ccache
Open

disable ccache by default when building llvm libraries#4885
lum1n0us wants to merge 4 commits intobytecodealliance:mainfrom
lum1n0us:fix/disable_ccache

Conversation

@lum1n0us
Copy link
Contributor

No description provided.

lum1n0us and others added 4 commits March 20, 2026 15:07
Add a new --use-ccache flag that will allow developers to opt-in to using
ccache for LLVM builds. This is part of a larger effort to disable ccache
by default to reduce CI storage consumption while still allowing local
developers to benefit from faster incremental builds.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This change modifies the LLVM build process to disable ccache by default
and only enable it when the --use-ccache flag is explicitly passed. This
reduces CI storage consumption while still allowing developers to opt-in
to ccache for faster incremental builds.

Changes:
- Modified build_llvm() to accept use_ccache parameter (defaults to False)
- Updated ccache logic to only enable when use_ccache=True and platform is not Windows
- Pass options.use_ccache from main() to build_llvm() call

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

Disable ccache by default in build_llvm.py to reduce CI cache storage costs

1 participant