Skip to content

Commit

Permalink
try setting ccache base dir
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Sep 18, 2024
1 parent e5dacbb commit 53840aa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docker/linux_amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ WORKDIR /duckdb_build_dir

# Mount for ccache to allow restoring ccache in GH actions
VOLUME /ccache_dir
ENV CCACHE_DIR=/ccache_dir
ENV CCACHE_BASE_DIR=/ccache_dir
ENV CCACHE_DIR=/ccache_dir/.ccache
ENV CCACHE_COMPRESS=TRUE
ENV CCACHE_COMPRESSLEVEL=6
ENV CCACHE_MAXSIZE=400M
Expand Down
3 changes: 2 additions & 1 deletion docker/linux_amd64_gcc4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ WORKDIR /duckdb_build_dir

# Mount for ccache to allow restoring ccache in GH actions
VOLUME /ccache_dir
ENV CCACHE_DIR=/ccache_dir
ENV CCACHE_BASE_DIR=/ccache_dir
ENV CCACHE_DIR=/ccache_dir/.ccache
ENV CCACHE_COMPRESS=TRUE
ENV CCACHE_COMPRESSLEVEL=6
ENV CCACHE_MAXSIZE=400M
Expand Down
3 changes: 2 additions & 1 deletion docker/linux_arm64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ WORKDIR /duckdb_build_dir

# Mount for ccache to allow restoring ccache in GH actions
VOLUME /ccache_dir
ENV CCACHE_DIR=/ccache_dir
ENV CCACHE_BASE_DIR=/ccache_dir
ENV CCACHE_DIR=/ccache_dir/.ccache
ENV CCACHE_COMPRESS=TRUE
ENV CCACHE_COMPRESSLEVEL=6
ENV CCACHE_MAXSIZE=400M
Expand Down

0 comments on commit 53840aa

Please sign in to comment.