| 1 |
# 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 |
| 3 |
common --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 [email protected], |
| 8 |
# but got [email protected] in the resolved dependency graph. |
| 9 |
common --check_direct_dependencies=off |
| 10 |
|
| 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 |
| 15 |
build --reuse_sandbox_directories |
| 16 |
|
| 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 |
| 23 |
build --nolegacy_external_runfiles |