GH-51254: [C++][CI] Move ubuntu-cpp-bundled-offline to C++ Extra - #51255
Merged
Conversation
pitrou
force-pushed
the
gh51254-move-bundle-offline
branch
from
September 9, 2026 07:44
c2a8ec9 to
9fcc34d
Compare
pitrou
force-pushed
the
gh51254-move-bundle-offline
branch
from
September 9, 2026 07:58
9fcc34d to
9c19850
Compare
pitrou
force-pushed
the
gh51254-move-bundle-offline
branch
from
September 9, 2026 11:08
80b0c10 to
d6f1ee1
Compare
pitrou
marked this pull request as ready for review
September 9, 2026 11:30
pitrou
requested review from
assignUser,
jonkeane,
kou and
raulcd
as code owners
September 9, 2026 11:30
Member
Author
|
cc @kou |
pitrou
added a commit
to pitrou/arrow
that referenced
this pull request
Sep 9, 2026
When trying to analyze the compilation caching behavior on apache#51255, I realized that our maximum ccache size of 1GB had become too small for some builds. The result is that a single build cannot be cached in its entirety, making identical rebuilds costlier than they should be.
kou
approved these changes
Sep 10, 2026
kou
left a comment
Member
There was a problem hiding this comment.
+1
I confirmed that ccache was used:
https://github.com/apache/arrow/actions/runs/34343953743/job/102772045066?pr=51255#step:6:11935
Hits: 7475 / 15253 (49.01%)
pitrou
added a commit
that referenced
this pull request
Sep 10, 2026
### Rationale for this change When trying to analyze the compilation caching behavior on #51255, I realized that our maximum ccache size of 1GB had become too small for some builds. The result is that a single build cannot be cached in its entirety, making identical rebuilds costlier than they should be. ### What changes are included in this PR? Bump ccache max size to 1.5 GB. ### Are these changes tested? Yes, by existing builds. ### Are there any user-facing changes? No. Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
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.
Rationale for this change
The
test-ubuntu-24.04-cpp-bundled-offlineCrossbow job usually takes one hour to complete:https://github.com/ursacomputing/crossbow/actions/runs/34175056969/job/101902703505
This is because, despite sccache being configured, the S3-stored compilation cache is unavailable because the network is shut off during compilation. And the job compiles all dependencies from scratch.
What changes are included in this PR?
Move the CI job to the C++ Extra workflow, so as to take advantage of ccache-based compilation caching using
apache/infrastructure-actions/stash.Are these changes tested?
By definition, yes.
Are there any user-facing changes?
No.