blob: 0a263625b16d179e1bd45e4f0509e8dff61cdf21 [file] [log] [blame]
Tim Windelschmidt6c851e22024-01-11 15:23:48 +01001# Speed up all builds by not checking if external repository files have been modified.
2# Docs: https://github.com/bazelbuild/bazel/blob/1af61b21df99edc2fc66939cdf14449c2661f873/src/main/java/com/google/devtools/build/lib/bazel/repository/RepositoryOptions.java#L244
Tim Windelschmidt5d0f6342024-09-25 03:35:00 +02003common --noexperimental_check_external_repository_files
4
5# Don't report when the root module's lower bound for a dependency happens to be less than the resolved version.
6# This is expected and should NOT prompt an engineer to update our lower bound to match.
7# WARNING: For repository 'aspect_bazel_lib', the root module requires module version aspect_bazel_lib@1.30.2,
8# but got aspect_bazel_lib@1.31.2 in the resolved dependency graph.
9common --check_direct_dependencies=off
Tim Windelschmidt6c851e22024-01-11 15:23:48 +010010
11# Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs.
12# Save time on Sandbox creation and deletion when many of the same kind of action run during the
13# build.
14# Docs: https://bazel.build/reference/command-line-reference#flag--reuse_sandbox_directories
15build --reuse_sandbox_directories
Tim Windelschmidtbc068962025-02-24 18:52:04 +010016
17# Do not build runfiles symlink forests for external repositories under
18# `.runfiles/wsname/external/repo` (in addition to `.runfiles/repo`). This reduces runfiles &
19# sandbox creation times & prevents accidentally depending on this feature which may flip to off by
20# default in the future. Note, some rules may fail under this flag, please file issues with the rule
21# author.
22# Docs: https://bazel.build/reference/command-line-reference#flag--legacy_external_runfiles
23build --nolegacy_external_runfiles