Skip to content

Commit 7b96ffc

Browse files
laramielcopybara-github
authored andcommitted
Update bazel version to 8.4.0
PiperOrigin-RevId: 804560683 Change-Id: Icdc61f7202df2341742290eed1ff646d8abe4a82
1 parent dc6a01e commit 7b96ffc

File tree

7 files changed

+20
-10
lines changed

7 files changed

+20
-10
lines changed

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.1
1+
8.4.0

bazel/pytype.bzl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,18 @@
1414

1515
"""Shims for Python type checking rules."""
1616

17+
load("@rules_python//python:py_binary.bzl", "py_binary")
18+
load("@rules_python//python:py_library.bzl", "py_library")
19+
load("@rules_python//python:py_test.bzl", "py_test")
20+
1721
def pytype_strict_library(**kwargs):
1822
"""Python type checking not currently supported in open source builds."""
19-
native.py_library(**kwargs)
23+
py_library(**kwargs)
2024

2125
def pytype_strict_binary(**kwargs):
2226
"""Python type checking not currently supported in open source builds."""
23-
native.py_binary(**kwargs)
27+
py_binary(**kwargs)
2428

2529
def pytype_strict_test(**kwargs):
2630
"""Python type checking not currently supported in open source builds."""
27-
native.py_test(**kwargs)
31+
py_test(**kwargs)

bazel/repo_rules/third_party_pypa_package.bzl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ load(
3333

3434
_PYPA_BUILD_FILE_TEMPLATE = """
3535
36+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
37+
load("@rules_python//python:py_binary.bzl", "py_binary")
38+
load("@rules_python//python:py_library.bzl", "py_library")
39+
3640
py_library(
3741
name = "{target}",
38-
srcs = glob(["**/*.py"]),
42+
srcs = glob(["**/*.py"], allow_empty = True),
3943
data = glob(["**/*"], exclude=["**/*.py", "**/* *", "BUILD.bazel", "WORKSPACE"]),
4044
imports = ["."],
4145
deps = {deps},
@@ -53,7 +57,7 @@ SCRIPT_SUFFIX = ".py"
5357
deps = [":{target}"],
5458
visibility = ["//visibility:public"],
5559
)
56-
for bin in glob([SCRIPT_PREFIX + "*" + SCRIPT_SUFFIX])
60+
for bin in glob([SCRIPT_PREFIX + "*" + SCRIPT_SUFFIX], allow_empty = True)
5761
]
5862
"""
5963

third_party/aws_c_common/aws_c_common.BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ _SRCS = glob([
6868
":windows_arm64": glob(["source/arch/arm/windows/*.c"]),
6969
":macos_arm64": glob(["source/arch/arm/darwin/*.c"]),
7070
":linux_arm64": glob(["source/arch/arm/auxv/*.c"]),
71-
"//conditions:default": glob([]),
71+
"//conditions:default": [],
7272
}) + select({
7373
":x86_64_mingw_gcc": glob(["source/arch/intel/asm/*.c"]),
7474
":x86_64_msvc": glob(["source/arch/intel/msvc/*.c"]),

third_party/com_google_storagetestbench/storagetestbench.BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
load("@rules_python//python:py_binary.bzl", "py_binary")
2+
load("@rules_python//python:py_library.bzl", "py_library")
3+
14
exports_files(["LICENSE"])
25

36
# These deps are included in pypa/cpp_test_requirements.txt

third_party/nasm/system.BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
2+
13
sh_binary(
24
name = "nasm",
35
srcs = ["nasm"],

third_party/org_aomedia_aom/libaom.BUILD.bazel

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,8 @@ AV1_SRC_PATTERNS = {
194194
"av1/encoder/x86/*_sse4.c",
195195
"av1/common/x86/*_sse4.c",
196196
"av1/encoder/x86/*_sse42.c",
197-
"av1/common/x86/*_sse42.c",
198197
],
199198
"avx": [
200-
"av1/encoder/x86/*_avx.c",
201-
"av1/common/x86/*_avx.c",
202199
"third_party/SVT-AV1/*.h",
203200
],
204201
"avx2": [

0 commit comments

Comments
 (0)