| Tim Windelschmidt | 6c851e2 | 2024-01-11 15:23:48 +0100 | [diff] [blame] | 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 | build --noexperimental_check_external_repository_files |
| 4 | fetch --noexperimental_check_external_repository_files |
| 5 | query --noexperimental_check_external_repository_files |
| 6 | |
| 7 | # Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs. |
| 8 | # Save time on Sandbox creation and deletion when many of the same kind of action run during the |
| 9 | # build. |
| 10 | # Docs: https://bazel.build/reference/command-line-reference#flag--reuse_sandbox_directories |
| 11 | build --reuse_sandbox_directories |