Skip to content

Commit 3daeaea

Browse files
committed
Fix ccache config: use 'compression' instead of 'compress' for ccache 4.x
1 parent 162042c commit 3daeaea

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/build_release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Configure ccache
5454
run: |
5555
ccache --set-config=max_size=2G
56-
ccache --set-config=compress=true
56+
ccache --set-config=compression=true
5757
ccache --set-config=compression_level=6
5858
ccache -z
5959
- name: Build Paimon
@@ -88,7 +88,7 @@ jobs:
8888
- name: Configure ccache
8989
run: |
9090
ccache --set-config=max_size=2G
91-
ccache --set-config=compress=true
91+
ccache --set-config=compression=true
9292
ccache --set-config=compression_level=6
9393
ccache -z
9494
- name: Build Paimon

.github/workflows/clang_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: Configure ccache
5555
run: |
5656
ccache --set-config=max_size=2G
57-
ccache --set-config=compress=true
57+
ccache --set-config=compression=true
5858
ccache --set-config=compression_level=6
5959
ccache -z
6060
- name: Build Paimon

.github/workflows/gcc8_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Configure ccache
7171
run: |
7272
ccache --set-config=max_size=2G
73-
ccache --set-config=compress=true
73+
ccache --set-config=compression=true
7474
ccache --set-config=compression_level=6
7575
ccache -z
7676
- name: Build Paimon

.github/workflows/gcc_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Configure ccache
5454
run: |
5555
ccache --set-config=max_size=2G
56-
ccache --set-config=compress=true
56+
ccache --set-config=compression=true
5757
ccache --set-config=compression_level=6
5858
ccache -z
5959
- name: Build Paimon

.github/workflows/test_with_sanitizer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- name: Configure ccache
5454
run: |
5555
ccache --set-config=max_size=2G
56-
ccache --set-config=compress=true
56+
ccache --set-config=compression=true
5757
ccache --set-config=compression_level=6
5858
ccache -z
5959
- name: Build Paimon

ci/scripts/build_paimon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if command -v ccache &> /dev/null; then
2727
echo "=== ccache found: $(ccache --version | head -1) ==="
2828
export CCACHE_DIR="${CCACHE_DIR:-${HOME}/.ccache}"
2929
export CCACHE_MAXSIZE="${CCACHE_MAXSIZE:-2G}"
30-
export CCACHE_COMPRESS=1
30+
export CCACHE_COMPRESS=true
3131
export CCACHE_COMPRESSLEVEL=6
3232
mkdir -p "${CCACHE_DIR}"
3333
echo "ccache directory: ${CCACHE_DIR}"

0 commit comments

Comments
 (0)