gh-113858: Cut down ccache size#113945
Merged
Merged
Conversation
- Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M
2 tasks
Member
Author
|
The previous commit helped, but it's not enough. For reference, I did some local builds, starting with a clean cache. The size was:
I reckon about 150M should be enough to keep bugfix branches in the cache even with an occasional deeper backport. I added 50M as room to grow. |
hugovk
approved these changes
Jan 11, 2024
encukou
added a commit
to encukou/cpython
that referenced
this pull request
Jan 15, 2024
Cut down ccache size - Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M
This was referenced Jan 15, 2024
encukou
added a commit
that referenced
this pull request
Jan 16, 2024
…) (GH-114082) This backports 3 PRs: - #113859 Only save ccache on pushes - #113945 Cut down ccache size - Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M - #114113 Fixup for the above Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
kulikjak
pushed a commit
to kulikjak/cpython
that referenced
this pull request
Jan 22, 2024
Cut down ccache size - Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M
aisk
pushed a commit
to aisk/cpython
that referenced
this pull request
Feb 11, 2024
Cut down ccache size - Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M
jessecomeau87
pushed a commit
to jessecomeau87/Python
that referenced
this pull request
May 20, 2024
This backports 3 PRs: - python/cpython#113859 Only save ccache on pushes - python/cpython#113945 Cut down ccache size - Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M - python/cpython#114113 Fixup for the above Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this pull request
Sep 2, 2024
Cut down ccache size - Only save the ccache in the main reusable builds, not on builds that don't use special build options: - Generated files check - OpenSSL tests - Hypothesis tests - Halve the max cache size, to 200M
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.
ccacheGitHub action generates excessive caches #113858