Update Bazel pin, ignore build-* directories (#2461)

Updates the Bazel pin to 8.1.0 so that build-* directories can be
properly ignored.
This commit is contained in:
armandomontanez 2025-05-29 06:25:46 -07:00 committed by GitHub
parent 0722de395c
commit 67f89e44aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 5 deletions

View file

@ -1,4 +0,0 @@
# Don't accidentally pick up external CMake deps with Bazel build files.
build
# Don't treat submodules as part of this project.
lib

View file

@ -4,3 +4,7 @@ common --host_per_file_copt=external/.*@-w
# Produce useful output when the build fails.
common --verbose_failures
# Silence warnings about old bazel_dep pins. Bazel 8 brings along newer ones,
# but we can support Bazel 7 (for now).
common --check_direct_dependencies=off

View file

@ -1 +1 @@
7.2.1
8.1.0

10
REPO.bazel Normal file
View file

@ -0,0 +1,10 @@
ignore_directories(
[
# Don't accidentally pick up external CMake deps with Bazel build files.
"cmake-*",
"build",
"build-*",
# Don't treat submodules as part of this project.
"lib",
],
)