Skip to content

Commit 5199790

Browse files
authored
Merge branch 'master' into add-python-abi3
2 parents e66f822 + 67d78bc commit 5199790

30 files changed

+1413
-340
lines changed

.github/workflows/build_test.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,25 @@ jobs:
4747
build_system: cmake
4848
c_compiler: clang-15
4949
cxx_compiler: clang++15
50+
os: ubuntu-22.04
5051

51-
- name: cmake:clang15:asan
52+
- name: cmake:clang:asan
5253
build_system: cmake
5354
sanitizer: address
54-
c_compiler: clang-15
55-
cxx_compiler: clang++15
55+
c_compiler: clang
56+
cxx_compiler: clang++
5657

57-
- name: cmake:clang15:tsan
58+
- name: cmake:clang:tsan
5859
build_system: cmake
5960
sanitizer: thread
60-
c_compiler: clang-15
61-
cxx_compiler: clang++15
61+
c_compiler: clang
62+
cxx_compiler: clang++
6263

63-
- name: cmake:clang15:ubsan
64+
- name: cmake:clang:ubsan
6465
build_system: cmake
6566
sanitizer: undefined
66-
c_compiler: clang-15
67-
cxx_compiler: clang++-15
67+
c_compiler: clang
68+
cxx_compiler: clang++
6869
c_flags: -fno-sanitize-recover=undefined,integer
6970

7071
- name: cmake:qemu-arm-neon-gcc
@@ -98,10 +99,10 @@ jobs:
9899
cmake_config: Debug
99100
os: windows-latest
100101

101-
- name: fuzz:clang15
102+
- name: fuzz:clang
102103
build_system: fuzz
103-
c_compiler: clang-15
104-
cxx_compiler: clang++15
104+
c_compiler: clang
105+
cxx_compiler: clang++
105106

106107
# TODO: consider running this combination in docker
107108
#- name: python2.7:gcc5
@@ -131,11 +132,11 @@ jobs:
131132
# TODO: consider running this combination in docker
132133
#- name: python3.8:gcc5
133134

134-
- name: python3.10:clang15
135+
- name: python3.10:clang
135136
build_system: python
136137
python_version: "3.10"
137-
c_compiler: clang-15
138-
cxx_compiler: clang++-15
138+
c_compiler: clang
139+
cxx_compiler: clang++
139140

140141
- name: python3.10-win
141142
build_system: python

MODULE.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2025 The Brotli Authors. All rights reserved.
2+
#
3+
# Distributed under MIT license.
4+
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5+
6+
"""Brotli reference implementation"""
7+
8+
module(
9+
name = "brotli",
10+
version = "1.1.0",
11+
repo_name = "org_brotli",
12+
)

WORKSPACE.bazel

Lines changed: 0 additions & 1 deletion
This file was deleted.

c/fuzz/MODULE.bazel

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright 2025 The Brotli Authors. All rights reserved.
2+
#
3+
# Distributed under MIT license.
4+
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5+
6+
"""Brotli reference implementation"""
7+
8+
module(
9+
name = "brotli_fuzz",
10+
version = "1.1.0",
11+
repo_name = "org_brotli_fuzz",
12+
)
13+
14+
bazel_dep(name = "rules_fuzzing", version = "0.5.2")
15+
16+
bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli")
17+
local_path_override(
18+
module_name = "brotli",
19+
path = "../..",
20+
)

c/fuzz/MODULE.bazel.lock

Lines changed: 323 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

c/fuzz/WORKSPACE.bazel

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

go/MODULE.bazel

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2025 The Brotli Authors. All rights reserved.
2+
#
3+
# Distributed under MIT license.
4+
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
5+
6+
"""Brotli reference implementation"""
7+
8+
module(
9+
name = "brotli_go",
10+
version = "1.1.0",
11+
repo_name = "org_brotli_go",
12+
)
13+
14+
bazel_dep(name = "rules_go", version = "0.51.0", repo_name = "io_bazel_rules_go")
15+
bazel_dep(name = "gazelle", version = "0.40.0")
16+
17+
bazel_dep(name = "brotli", version = "1.1.0", repo_name = "org_brotli")
18+
local_path_override(
19+
module_name = "brotli",
20+
path = "..",
21+
)

go/MODULE.bazel.lock

Lines changed: 258 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/WORKSPACE.bazel

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

java/BUILD.bazel

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@ package(
66

77
genrule(
88
name = "copy_link_jni_header",
9-
srcs = ["@openjdk_jni_h//file"],
9+
srcs = ["@bazel_tools//tools/jdk:jni_header"],
1010
outs = ["jni/jni.h"],
1111
cmd = "cp -f $< $@",
1212
)
1313

1414
genrule(
1515
name = "copy_link_jni_md_header",
1616
srcs = select({
17-
"@platforms//os:macos": ["@openjdk_macosx_jni_md_h//file"],
18-
"@platforms//os:windows": ["@openjdk_windows_jni_md_h//file"],
19-
"//conditions:default": ["@openjdk_solaris_jni_md_h//file"],
17+
"@bazel_tools//src/conditions:darwin": ["@bazel_tools//tools/jdk:jni_md_header-darwin"],
18+
"@bazel_tools//src/conditions:freebsd": ["@bazel_tools//tools/jdk:jni_md_header-freebsd"],
19+
"@bazel_tools//src/conditions:openbsd": ["@bazel_tools//tools/jdk:jni_md_header-openbsd"],
20+
"@bazel_tools//src/conditions:windows": ["@bazel_tools//tools/jdk:jni_md_header-windows"],
21+
"//conditions:default": ["@bazel_tools//tools/jdk:jni_md_header-linux"],
2022
}),
2123
outs = ["jni/jni_md.h"],
2224
cmd = "cp -f $< $@",

0 commit comments

Comments
 (0)