Skip to content

Commit 36d5afc

Browse files
Update Bazel pin, ignore build-* directories
Updates the Bazel pin to 8.1.0 so that build-* directories can be properly ignored.
1 parent 792f556 commit 36d5afc

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.bazelignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ common --host_per_file_copt=external/.*@-w
44

55
# Produce useful output when the build fails.
66
common --verbose_failures
7+
8+
# Silence warnings about old bazel_dep pins. Bazel 8 brings along newer ones,
9+
# but we can support Bazel 7 (for now).
10+
common --check_direct_dependencies=off

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.2.1
1+
8.1.0

REPO.bazel

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ignore_directories(
2+
[
3+
# Don't accidentally pick up external CMake deps with Bazel build files.
4+
"cmake-*",
5+
"build",
6+
"build-*",
7+
# Don't treat submodules as part of this project.
8+
"lib",
9+
],
10+
)

0 commit comments

Comments
 (0)