-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMODULE.bazel
More file actions
76 lines (63 loc) · 3.22 KB
/
Copy pathMODULE.bazel
File metadata and controls
76 lines (63 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
module(
name = "gloop",
bazel_compatibility = [">=8.0.0"],
)
bazel_dep(name = "abseil-cpp", version = "20260817.0")
bazel_dep(name = "protobuf", version = "36.0.bcr.1")
bazel_dep(name = "tcmalloc", version = "0.0.0-20260818-15db23d")
bazel_dep(name = "platforms", version = "1.1.0")
bazel_dep(name = "bazel_skylib", version = "1.9.0")
bazel_dep(name = "rules_license", version = "1.0.0")
bazel_dep(name = "rules_cc", version = "0.2.18")
bazel_dep(name = "rules_shell", version = "0.6.1")
bazel_dep(name = "googletest", version = "1.17.0.bcr.2")
bazel_dep(name = "zlib", version = "1.3.2")
bazel_dep(name = "boringssl", version = "0.20260413.0")
bazel_dep(name = "re2", version = "2025-11-05.bcr.1")
bazel_dep(name = "googleapis", version = "0.0.0-20260716-3e4ab771")
# grpc provides Starlark rules for compiling StatusProto related code.
bazel_dep(name = "grpc", version = "1.80.0")
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension")
use_repo(cc_configure, "local_config_cc")
# Dev dependencies, not needed for users of Gloop.
bazel_dep(name = "google_benchmark", version = "1.9.5", dev_dependency = True)
bazel_dep(name = "numactl", version = "2.0.19.bcr.1", dev_dependency = True)
bazel_dep(name = "gloop_examples", version = "0.1", dev_dependency = True, repo_name = "examples")
bazel_dep(name = "docker_toolchain", version = "0.1", dev_dependency = True)
# Pin certain dependencies to more recent commits than released to keep consistent with monorepo.
local_path_override(
module_name = "gloop_examples",
path = "gloop/examples",
)
local_path_override(
module_name = "docker_toolchain",
path = "gloop/ci/docker_toolchain",
)
# Dev dependencies required for fuzz testing.
# fuzztest is the main library. brotli, snappy, highwayhash, aspect_bazel_lib,
# aspect_rules_esbuild, and rules_swift are transitive dependencies of fuzztest
# (or its dependencies like riegeli/protobuf) that must be declared here
# to ensure compatibility with Bazel 9.
bazel_dep(name = "fuzztest", version = "20260219.0", dev_dependency = True)
# TODO Fuzztest patch is required for Abseil compatibility in OSS.
git_override(
module_name = "fuzztest",
commit = "1401ec33761985cc3f6ee41cc49fb135e1d34f39",
patches = ["//gloop:fuzztest.patch"],
remote = "https://github.com/google/fuzztest",
)
# rules_swift override is required to resolve compatibility level conflict
# between flatbuffers (requires level 2) and bazel_tools (requires level 3).
bazel_dep(name = "rules_swift", version = "3.1.2", dev_dependency = True)
single_version_override(
module_name = "rules_swift",
version = "3.1.2",
)
# The following transitive dependencies are declared directly to force minimum
# versions that are compatible with Bazel 9 (e.g., resolving issues with
# deprecated features like incompatible_use_toolchain_transition).
bazel_dep(name = "brotli", version = "1.2.0.bcr.1", dev_dependency = True)
bazel_dep(name = "aspect_bazel_lib", version = "2.22.5", dev_dependency = True)
bazel_dep(name = "aspect_rules_esbuild", version = "0.26.0", dev_dependency = True)
bazel_dep(name = "snappy", version = "1.2.2.bcr.3", dev_dependency = True)
bazel_dep(name = "highwayhash", version = "0.0.0-20240305-5ad3bf8.bcr.1", dev_dependency = True)