Skip to content

Commit 81125db

Browse files
committed
chore: enable disk cache for faster local builds
1 parent 7ea4706 commit 81125db

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ build --enable_runfiles
3030
# Make Bazel 7 use bzlmod by default
3131
common --enable_bzlmod
3232

33+
# Local disk cache greatly speeds up builds if the regular cache is lost
34+
common --disk_cache=~/.cache/bazel/bazel-disk-cache
35+
3336
# Additional config to use for readthedocs builds.
3437
# See .readthedocs.yml for additional flags that can only be determined from
3538
# the runtime environment.

0 commit comments

Comments
 (0)