generated from bazel-contrib/rules-template
-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: upgrade to latest bazel 7.3.2
- Loading branch information
Showing
8 changed files
with
55 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.1.1 | ||
7.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# Speed up all builds by not checking if external repository files have been modified. | ||
# Docs: https://github.com/bazelbuild/bazel/blob/1af61b21df99edc2fc66939cdf14449c2661f873/src/main/java/com/google/devtools/build/lib/bazel/repository/RepositoryOptions.java#L244 | ||
build --noexperimental_check_external_repository_files | ||
fetch --noexperimental_check_external_repository_files | ||
query --noexperimental_check_external_repository_files | ||
common --noexperimental_check_external_repository_files | ||
|
||
# Don't report when the root module's lower bound for a dependency happens to be less than the resolved version. | ||
# This is expected and should NOT prompt an engineer to update our lower bound to match. | ||
# WARNING: For repository 'aspect_bazel_lib', the root module requires module version [email protected], | ||
# but got [email protected] in the resolved dependency graph. | ||
common --check_direct_dependencies=off | ||
|
||
# Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs. | ||
# Save time on Sandbox creation and deletion when many of the same kind of action run during the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
""" | ||
Wrapper around stardoc_with_diff_test that only runs the test if Bazel 7 or greater is being used. | ||
""" | ||
|
||
load("@aspect_bazel_lib//lib:docs.bzl", _stardoc_with_diff_test = "stardoc_with_diff_test", _update_docs = "update_docs") | ||
load("@aspect_bazel_lib//lib:utils.bzl", "is_bazel_7_or_greater") | ||
|
||
def stardoc_with_diff_test(name, **kwargs): | ||
""" | ||
Wrapper around stardoc_with_diff_test that only runs the test if Bazel 7 or greater is being used. | ||
""" | ||
if is_bazel_7_or_greater(): | ||
_stardoc_with_diff_test(name, **kwargs) | ||
else: | ||
# buildifier: disable=print | ||
print("WARNING: Skipping stardoc_with_diff_test for %s because it requires Bazel 7 or greater" % name) | ||
|
||
update_docs = _update_docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters