Skip to content

Commit

Permalink
Merge branch 'ali-enable-bazel-local-disk-cache' into 'master'
Browse files Browse the repository at this point in the history
Bazel enable --disk_cache by default

 

See merge request dfinity-lab/public/ic!7977
  • Loading branch information
levsha committed Oct 3, 2022
2 parents 6187f72 + 46362a9 commit 67c7147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build --strip=never

build --strategy_regexp=ic-os/.*=local

build --disk_cache=~/.cache/bazel_disk_cache
build --remote_cache=buildfarm.zh1-idx1.dfinity.network
build --experimental_remote_cache_async
build --incompatible_remote_build_event_upload_respect_no_cache
Expand Down
2 changes: 1 addition & 1 deletion gitlab-ci/docker/docker-run-include
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if [ ! -e /.dockerenv ] && [[ "$IMAGE" != "ic-build-bd:"* ]]; then
# [e.g. proto gen rules] need to write into the repo source directory.
--mount type=bind,source="${REPO_ROOT}",target="${WORKDIR}"

--mount type=bind,source="${HOME}/.cache/bazel",target="${HOME}/.cache/bazel"
--mount type=bind,source="${HOME}/.cache",target="${HOME}/.cache"
--mount type=bind,source="${HOME}/.ssh",target="${HOME}/.ssh"
--mount type=bind,source="${HOME}/.aws",target="${HOME}/.aws"

Expand Down

0 comments on commit 67c7147

Please sign in to comment.