This is an automated email from the ASF dual-hosted git repository.

pitrou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 1eb26c668fc MINOR: [C++][CI] Bump ccache max size (#51259)
1eb26c668fc is described below

commit 1eb26c668fc33352422e0c8a744cf5770929851e
Author: Antoine Pitrou <[email protected]>
AuthorDate: Thu Sep 10 10:18:40 2026 +0200

    MINOR: [C++][CI] Bump ccache max size (#51259)
    
    ### Rationale for this change
    
    When trying to analyze the compilation caching behavior on 
https://github.com/apache/arrow/pull/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 <[email protected]>
    Signed-off-by: Antoine Pitrou <[email protected]>
---
 ci/scripts/ccache_setup.sh | 2 +-
 compose.yaml               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/scripts/ccache_setup.sh b/ci/scripts/ccache_setup.sh
index 4006a63a739..4a0f4020cd9 100755
--- a/ci/scripts/ccache_setup.sh
+++ b/ci/scripts/ccache_setup.sh
@@ -25,6 +25,6 @@ set -eux
   echo "CCACHE_COMPILERCHECK=content"
   echo "CCACHE_COMPRESS=1"
   echo "CCACHE_COMPRESSLEVEL=6"
-  echo "CCACHE_MAXSIZE=1G"
+  echo "CCACHE_MAXSIZE=1.5G"
   echo "CCACHE_NOHASHDIR=1"
 } >> "$GITHUB_ENV"
diff --git a/compose.yaml b/compose.yaml
index 07dc2af2db9..1741d00db43 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -57,7 +57,7 @@ x-ccache: &ccache
   CCACHE_COMPILERCHECK: content
   CCACHE_COMPRESS: 1
   CCACHE_COMPRESSLEVEL: 6
-  CCACHE_MAXSIZE: 1G
+  CCACHE_MAXSIZE: 1.5G
   CCACHE_DIR: /ccache
   # Some builds (such as PyArrow) copy their source files in a temporary 
directory,
   # avoid hashing the current directory to make ccache useful on those builds.

Reply via email to