Skip to content

Commit f2a42e1

Browse files
committed
Upgrade Bazel to 8.7.0 across all build environments
1 parent c8d93a4 commit f2a42e1

8 files changed

Lines changed: 12 additions & 11 deletions

File tree

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.6.0
1+
8.7.0

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
MESA_GL_VERSION_OVERRIDE: 4.5COMPAT
183183
MSYS2_ARG_CONV_EXCL: "*"
184184
MSYS_NO_PATHCONV: "1"
185-
USE_BAZEL_VERSION: "8.6.0"
185+
USE_BAZEL_VERSION: "8.7.0"
186186
steps:
187187
- name: Cancel previous run
188188
uses: styfle/cancel-workflow-action@0.11.0

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ jobs:
310310
MESA_GL_VERSION_OVERRIDE: 4.5COMPAT
311311
MSYS2_ARG_CONV_EXCL: "*"
312312
MSYS_NO_PATHCONV: "1"
313-
USE_BAZEL_VERSION: "8.6.0"
313+
USE_BAZEL_VERSION: "8.7.0"
314314
steps:
315315
- name: Cancel previous run
316316
uses: styfle/cancel-workflow-action@0.11.0

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WINDOWS_ENVPOOL_TEST_DEFINE = $(if $(filter Windows_NT,$(OS)),--cxxopt=/DENVPOOL
1616
# Mesa DLL directory configured by CI/local shells.
1717
WINDOWS_BAZEL_TEST_ENV = $(if $(filter Windows_NT,$(OS)),--test_env=ENVPOOL_DLL_DIR --test_env=MESA_GL_VERSION_OVERRIDE --test_env=GALLIUM_DRIVER --test_env=PATH,)
1818
BAZELISK_BIN = $(shell command -v bazelisk 2>/dev/null || echo $(HOME)/go/bin/bazelisk)
19-
BAZEL_VERSION = 8.6.0
19+
BAZEL_VERSION = 8.7.0
2020
BAZEL = USE_BAZEL_VERSION=$(BAZEL_VERSION) $(BAZELISK_BIN)
2121
BAZEL_TEST_TARGETS ?= //...
2222
DATE = $(shell date "+%Y-%m-%d")

docker/dev.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM nvidia/cuda:13.1.1-cudnn-devel-ubuntu24.04
55
ARG DEBIAN_FRONTEND=noninteractive
66
ARG HOME=/root
77
ENV PATH=$HOME/go/bin:$PATH
8-
ENV USE_BAZEL_VERSION=8.6.0
8+
ENV USE_BAZEL_VERSION=8.7.0
99

1010
RUN apt-get update \
1111
&& apt-get install -y python3-pip python3-dev python-is-python3 golang-go git wget curl zsh tmux vim \

docker/release.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM ${MANYLINUX_IMAGE}
44
ARG DEBIAN_FRONTEND=noninteractive
55
ARG HOME=/root
66
ENV PATH=$HOME/go/bin:$PATH
7-
ENV USE_BAZEL_VERSION=8.6.0
7+
ENV USE_BAZEL_VERSION=8.7.0
88

99
WORKDIR $HOME
1010

docs/content/build.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ or `golang <https://golang.org/doc/install>`_ with version >= 1.16:
5353
# then follow the instructions on golang official website
5454
go env -w GOPROXY=https://goproxy.cn
5555
56-
wget https://mirrors.huaweicloud.com/bazel/8.6.0/bazel-8.6.0-linux-x86_64
57-
chmod +x bazel-8.6.0-linux-x86_64
56+
wget https://mirrors.huaweicloud.com/bazel/8.7.0/bazel-8.7.0-linux-x86_64
57+
chmod +x bazel-8.7.0-linux-x86_64
5858
mkdir -p $HOME/go/bin
59-
mv bazel-8.6.0-linux-x86_64 $HOME/go/bin/bazel
59+
mv bazel-8.7.0-linux-x86_64 $HOME/go/bin/bazel
6060
6161
export PATH=$PATH:$HOME/go/bin # or write to .bashrc / .zshrc
6262
@@ -77,7 +77,7 @@ EnvPool source builds share a few common requirements across platforms:
7777
- **SWIG**
7878
- **Qt 5**
7979

80-
The default build and test shortcuts in this repo use **Bazel 8.6.0** via
80+
The default build and test shortcuts in this repo use **Bazel 8.7.0** via
8181
``bazelisk``.
8282

8383
Linux (Ubuntu 24.04)

scripts/clang_tidy_targets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
REPO_ROOT = pathlib.Path(__file__).resolve().parents[1]
1212
FULL_RUN_FILES = {
1313
".bazelrc",
14+
".bazelversion",
1415
".clang-tidy",
1516
"BUILD",
1617
"WORKSPACE",
@@ -47,7 +48,7 @@ def _git(*args: str) -> str:
4748

4849
def _bazel(*args: str) -> str:
4950
env = os.environ.copy()
50-
env.setdefault("USE_BAZEL_VERSION", "8.6.0")
51+
env.setdefault("USE_BAZEL_VERSION", "8.7.0")
5152
return subprocess.check_output(
5253
["bazelisk", *args],
5354
cwd=REPO_ROOT,

0 commit comments

Comments
 (0)