summaryrefslogtreecommitdiffstats
path: root/Documentation/dev-bazel.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/dev-bazel.txt')
-rw-r--r--Documentation/dev-bazel.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/dev-bazel.txt b/Documentation/dev-bazel.txt
index 782aba0678..2a8b7c17f0 100644
--- a/Documentation/dev-bazel.txt
+++ b/Documentation/dev-bazel.txt
@@ -495,6 +495,10 @@ To accelerate builds, several caches are activated per default:
* ~/.gerritcodereview/bazel-cache/repository
* ~/.gerritcodereview/bazel-cache/cas
+The `downloaded-artifacts` cache can be relocated by setting the
+`GERRIT_CACHE_HOME` environment variable. The other two can be adjusted with
+`bazel build` options `--repository_cache` and `--disk_cache` respectively.
+
Currently none of these caches have a maximum size limit. See
link:https://github.com/bazelbuild/bazel/issues/5139[this bazel issue] for
details. Users should watch the cache sizes and clean them manually if