From 81125db90c9cd7fc2fd667e9b5ed4825222c89bb Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Wed, 12 Nov 2025 19:21:57 -0800 Subject: [PATCH] chore: enable disk cache for faster local builds --- .bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bazelrc b/.bazelrc index b5c9c7c1e2..f9e00fe531 100644 --- a/.bazelrc +++ b/.bazelrc @@ -30,6 +30,9 @@ build --enable_runfiles # Make Bazel 7 use bzlmod by default common --enable_bzlmod +# Local disk cache greatly speeds up builds if the regular cache is lost +common --disk_cache=~/.cache/bazel/bazel-disk-cache + # Additional config to use for readthedocs builds. # See .readthedocs.yml for additional flags that can only be determined from # the runtime environment.