[Backport wrynose] ci/ci: enable ccache - #3144
Merged
Dmitry Baryshkov (lumag) merged 5 commits intoSep 13, 2026
Merged
Conversation
It avoids reproducibility problems and is recommended by good security practices. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> (cherry picked from commit 37fa5f8) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Proposed ccache to be installed on kas-container and it is accepted and available in the image. The change landed in master 5.5-9-g0555188 Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> (cherry picked from commit 588e03d) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Store the CCACHE_TOP_DIR inside the state-cache so we can access it from within the kas-container. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> (cherry picked from commit 5451b3d) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
The ccache can improve significantly our builds speeds when we can't take advantage of the bitbake sstate cache, in such scenario we need to compile the code. The cache storage needs to be available from the previous builds so we need to store these ccache artifacts temporay on our permanent storage. Fixes qualcomm-linux#1051 Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> (cherry picked from commit 35458a2) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
We'll have to divide the available space among all existing components. Focusing a large portion of the allocated space on components that are fast enough even without ccache. We then conclude that it would be more efficient if we allocated space only to the components that take the most advantage of using ccache. Let's start with a short list of the heavier recipes; we'll adjust them as needed. A quick analysis of the buildstats of shows that the compilation time is high for this list of recipes. Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com> (cherry picked from commit 3656304) Signed-off-by: Jose Quaresma <jose.quaresma@oss.qualcomm.com>
Merged
Dmitry Baryshkov (lumag)
approved these changes
Sep 13, 2026
Viswanath Kraleti (vkraleti)
approved these changes
Sep 13, 2026
Test Results 119 files + 39 713 suites +290 10h 18m 53s ⏱️ + 3h 38m 8s For more details on these failures, see this check. Results for commit 97389cb. ± Comparison against base commit 04cb529. |
Dmitry Baryshkov (lumag)
merged commit Sep 13, 2026
5ac671e
into
qualcomm-linux:wrynose
475 of 477 checks 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.
Description
Backport of #2936 to wrynose.