Skip to content

Commit 7aabc19

Browse files
authored
[bazel] Update Bazel to 8.4.1 to fix Windows builds (#8258)
- Fix missing epilogue deps - Compress debug info to save space in CI
1 parent ef676ac commit 7aabc19

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.3.1
1+
8.4.1

.github/workflows/bazel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
token: ${{ secrets.BUILDBUDDY_API_KEY }}
3333

3434
- name: bazel ${{ matrix.action }}
35-
run: bazel --output_user_root=C:\\bazelroot ${{ matrix.action }} -k ... --config=ci ${{ matrix.config }} --verbose_failures
35+
run: bazel ${{ matrix.action }} -k ... --config=ci ${{ matrix.config }} --verbose_failures
3636
shell: bash
3737

3838
build-mac:

epilogue-runtime/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ wpilib_java_library(
1111
"//ntcore:ntcore-java",
1212
"//wpiunits:wpiunits-java",
1313
"//wpiutil:wpiutil-java",
14+
"@maven//:us_hebi_quickbuf_quickbuf_runtime",
1415
],
1516
)
1617

@@ -19,6 +20,7 @@ wpilib_java_junit5_test(
1920
srcs = glob(["src/test/java/**/*.java"]),
2021
deps = [
2122
":epilogue-java",
23+
"//wpimath:wpimath-java",
2224
"//wpiutil:wpiutil-java",
2325
"@maven//:us_hebi_quickbuf_quickbuf_runtime",
2426
],

shared/bazel/compiler_flags/linux_flags.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Start with configuring the autodetected toolchain.
66
# The target toolchain should be captured already in its toolchain.
7-
common:linux --repo_env=BAZEL_COPTS="-Wall:-Wextra:-Werror"
7+
common:linux --repo_env=BAZEL_COPTS="-Wall:-Wextra:-Werror:-gz=zlib"
88

99
# C++ only
1010
common:linux --repo_env=BAZEL_CXXOPTS="-std=c++20:-Wformat=2:-pedantic:-Wno-psabi:-Wno-unused-parameter:-fPIC:-pthread:-Wno-deprecated-enum-enum-conversion"

0 commit comments

Comments
 (0)