-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
163 lines (118 loc) · 4.47 KB
/
WORKSPACE
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
git_repository(
name = "upb",
commit = "e7430e66d6e51def2a88f0b66fdab62b0d9492c1",
remote = "https://github.com/protocolbuffers/upb.git",
)
load("@upb//bazel:workspace_deps.bzl", "upb_deps")
upb_deps()
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
http_archive(
name = "io_bazel_rules_docker",
sha256 = "b1e80761a8a8243d03ebca8845e9cc1ba6c82ce7c5179ce2b295cd36f7e394bf",
urls = ["https://github.com/bazelbuild/rules_docker/releases/download/v0.25.0/rules_docker-v0.25.0.tar.gz"],
)
http_archive(
name = "hedron_compile_commands",
strip_prefix = "bazel-compile-commands-extractor-e16062717d9b098c3c2ac95717d2b3e661c50608",
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/e16062717d9b098c3c2ac95717d2b3e661c50608.tar.gz",
)
load("@hedron_compile_commands//:workspace_setup.bzl", "hedron_compile_commands_setup")
hedron_compile_commands_setup()
http_archive(
name = "com_github_google_benchmark",
strip_prefix = "benchmark-main",
urls = ["https://github.com/google/benchmark/archive/main.zip"],
)
http_archive(
name = "rules_flatbuffers",
sha256 = "902e649b358846c762829e7aae78db346571ffed7f4a849deebf0f0f69fb398e",
strip_prefix = "rules_flatbuffers-0.2.0",
urls = ["https://github.com/kgreenek/rules_flatbuffers/archive/refs/tags/v0.2.0.tar.gz"],
)
load(
"@rules_flatbuffers//flatbuffers:repositories.bzl",
"flatbuffers_cc_toolchain",
"flatbuffers_dependencies",
"flatbuffers_toolchain",
)
flatbuffers_dependencies()
flatbuffers_toolchain()
flatbuffers_cc_toolchain()
http_archive(
name = "rules_proto",
sha256 = "dc3fb206a2cb3441b485eb1e423165b231235a1ea9b031b4433cf7bc1fa460dd",
strip_prefix = "rules_proto-5.3.0-21.7",
urls = [
"https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz",
],
)
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()
http_archive(
name = "rules_python",
strip_prefix = "rules_python-0.25.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.25.0/rules_python-0.25.0.tar.gz",
)
git_repository(
name = "com_github_nanopb_nanopb",
commit = "f5f65a90c8057a591f3cc98de40874bd78c9880d",
remote = "https://github.com/nanopb/nanopb.git",
)
load("@com_github_nanopb_nanopb//extra/bazel:nanopb_deps.bzl", "nanopb_deps")
nanopb_deps()
load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains")
py_repositories()
python_register_toolchains(
name = "python3_11",
python_version = "3.8.10",
)
load("@com_github_nanopb_nanopb//extra/bazel:python_deps.bzl", "nanopb_python_deps")
load("@python3_11//:defs.bzl", "interpreter")
nanopb_python_deps(interpreter)
load("@com_github_nanopb_nanopb//extra/bazel:nanopb_workspace.bzl", "nanopb_workspace")
nanopb_workspace()
git_repository(
name = "com_github_mvukov_rules_ros2",
commit = "3fb8a99e074b166f21a719c6144a37eab35e9199",
remote = "https://github.com/mvukov/rules_ros2.git",
)
load("@com_github_mvukov_rules_ros2//repositories:repositories.bzl", "ros2_repositories")
ros2_repositories()
load("@com_github_mvukov_rules_ros2//repositories:deps.bzl", "PIP_ANNOTATIONS", "ros2_deps")
ros2_deps()
python_register_toolchains(
name = "rules_ros2_python",
python_version = "3.8.13",
)
load("@rules_python//python:pip.bzl", "pip_parse")
load("@rules_ros2_python//:defs.bzl", python_interpreter_target = "interpreter")
pip_parse(
name = "rules_ros2_pip_deps",
annotations = PIP_ANNOTATIONS,
python_interpreter_target = python_interpreter_target,
requirements_lock = "@com_github_mvukov_rules_ros2//:requirements_lock.txt",
)
load(
"@rules_ros2_pip_deps//:requirements.bzl",
install_rules_ros2_pip_deps = "install_deps",
)
install_rules_ros2_pip_deps()
http_archive(
name = "rules_capnproto",
sha256 = "c75b4ebcd4f7db7ac2a2a6a5be3c64599c97a26934db67de51d3935304ab6e8c",
strip_prefix = "rules_capnproto-0.1.0",
urls = ["https://github.com/kgreenek/rules_capnproto/archive/refs/tags/v0.1.0.tar.gz"],
)
load(
"@rules_capnproto//capnp:repositories.bzl",
"capnp_cc_toolchain",
"capnp_dependencies",
"capnp_toolchain",
)
capnp_dependencies()
capnp_toolchain()
capnp_cc_toolchain()