Skip to content

Commit 3ed3271

Browse files
authored
Merge pull request #7788 from The-OpenROAD-Project-staging/bazelrc-cache-fix
Fix cache paths in the .bazelrc
2 parents 153afd9 + d4c0786 commit 3ed3271

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.bazelrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ test --build_tests_only
7575
build --jobs=200
7676

7777
# Enable local disk caching to supplement the remote cache.
78-
# The location can be overridden by setting the OPENROAD_BAZEL_CACHE env variable.
79-
build --disk_cache=$(OPENROAD_BAZEL_CACHE:-~/.cache/bazel-disk-cache)
78+
build --disk_cache=~/.cache/bazel-disk-cache
79+
build --repository_cache=~/.cache/bazel-repository-cache
8080

8181
# --- CI Settings (write access) ---
8282
build:ci --remote_cache=https://storage.googleapis.com/openroad-bazel-cache
@@ -94,5 +94,7 @@ build:openroad-dev --remote_upload_local_results=false
9494
# Developers need the actual output files to run and use them.
9595
build:openroad-dev --remote_download_toplevel
9696
build:openroad-dev --google_default_credentials=true
97+
build:openroad-dev --disk_cache=/workspace/.cache/bazel-disk-cache
98+
build:openroad-dev --repository_cache=/workspace/.cache/bazel-repository-cache
9799

98100
try-import %workspace%/user.bazelrc

0 commit comments

Comments
 (0)