-
Notifications
You must be signed in to change notification settings - Fork 13
/
WORKSPACE
165 lines (124 loc) · 5.31 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
164
165
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
### register Python toolchain -- note this toolchain defines the path to a specific version of python
load("//builders/bazel:deps.bzl", "python_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"],
)
python_deps("//builders/bazel")
# TODO: Remove bazel_clang_tidy once we sync to the common repo commit 9edb0c3 (4/3/2024) or later
http_archive(
name = "bazel_clang_tidy",
sha256 = "352aeb57ad7ed53ff6e02344885de426421fb6fd7a3890b04d14768d759eb598",
strip_prefix = "bazel_clang_tidy-4884c32e09c1ea9ac96b3f08c3004f3ac4c3fe39",
urls = [
"https://github.com/erenon/bazel_clang_tidy/archive/4884c32e09c1ea9ac96b3f08c3004f3ac4c3fe39.zip",
],
)
http_archive(
name = "google_privacysandbox_servers_common",
# 2024-05-28
sha256 = "a241ad3d8d897599a6acff89fc759d0e858f8466988f7c56c57b0a83b8cdab5d",
strip_prefix = "data-plane-shared-libraries-3e92e75fceb18694f1ce7177e7433824769a89a0",
urls = [
"https://github.com/privacysandbox/data-plane-shared-libraries/archive/3e92e75fceb18694f1ce7177e7433824769a89a0.zip",
],
)
load(
"@google_privacysandbox_servers_common//third_party:cpp_deps.bzl",
data_plane_shared_deps_cpp = "cpp_dependencies",
)
data_plane_shared_deps_cpp()
load("@google_privacysandbox_servers_common//third_party:deps1.bzl", data_plane_shared_deps1 = "deps1")
data_plane_shared_deps1()
load("@google_privacysandbox_servers_common//third_party:deps2.bzl", data_plane_shared_deps2 = "deps2")
data_plane_shared_deps2(go_toolchains_version = "1.20.4")
load("@google_privacysandbox_servers_common//third_party:deps3.bzl", data_plane_shared_deps3 = "deps3")
data_plane_shared_deps3()
load("@google_privacysandbox_servers_common//third_party:deps4.bzl", data_plane_shared_deps4 = "deps4")
data_plane_shared_deps4()
load(
"@io_bazel_rules_docker//repositories:repositories.bzl",
container_repositories = "repositories",
)
container_repositories()
load("@io_bazel_rules_docker//repositories:deps.bzl", rules_docker_deps = "deps")
rules_docker_deps()
load("//third_party:container_deps.bzl", "container_deps")
container_deps()
load("@com_github_google_rpmpack//:deps.bzl", "rpmpack_dependencies")
rpmpack_dependencies()
http_archive(
name = "libcbor",
build_file = "//third_party:libcbor.BUILD",
patch_args = ["-p1"],
patches = ["//third_party:libcbor.patch"],
sha256 = "9fec8ce3071d5c7da8cda397fab5f0a17a60ca6cbaba6503a09a47056a53a4d7",
strip_prefix = "libcbor-0.10.2/src",
urls = ["https://github.com/PJK/libcbor/archive/refs/tags/v0.10.2.zip"],
)
http_archive(
name = "service_value_key_fledge_privacysandbox",
# commit d186bcf8d643888fac81784f9c91ffb2fb48791c 2024-04-19
sha256 = "53521403ffbe18a306417b8e7b41c2a13127ba0892ad921229861a451ad2045e",
strip_prefix = "protected-auction-key-value-service-d186bcf8d643888fac81784f9c91ffb2fb48791c",
urls = [
"https://github.com/privacysandbox/protected-auction-key-value-service/archive/d186bcf8d643888fac81784f9c91ffb2fb48791c.zip",
],
)
### Initialize Python headers
http_archive(
name = "pybind11_bazel",
sha256 = "b72c5b44135b90d1ffaba51e08240be0b91707ac60bea08bb4d84b47316211bb",
strip_prefix = "pybind11_bazel-b162c7c88a253e3f6b673df0c621aca27596ce6b",
urls = ["https://github.com/pybind/pybind11_bazel/archive/b162c7c88a253e3f6b673df0c621aca27596ce6b.zip"],
)
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
python_configure(
name = "local_config_python",
)
### Initialize inference common (for bidding server inference utils)
local_repository(
name = "inference_common",
path = "services/inference_sidecar/common",
)
### Initialize PyTorch sidecar local repository (for PyTorch sidecar binary)
local_repository(
name = "pytorch_v2_1_1",
path = "services/inference_sidecar/modules/pytorch_v2_1_1",
)
### Initialize Tensorflow sidecar local respository
local_repository(
name = "tensorflow_v2_14_0",
path = "services/inference_sidecar/modules/tensorflow_v2_14_0",
)
http_archive(
name = "libevent",
build_file = "//third_party:libevent.BUILD",
patch_args = ["-p1"],
patches = [
"//third_party:libevent.patch",
],
sha256 = "8836ad722ab211de41cb82fe098911986604f6286f67d10dfb2b6787bf418f49",
strip_prefix = "libevent-release-2.1.12-stable",
urls = ["https://github.com/libevent/libevent/archive/refs/tags/release-2.1.12-stable.zip"],
)
load("@rules_rust//crate_universe:repositories.bzl", "crate_universe_dependencies")
crate_universe_dependencies()
load("//third_party:deps.bzl", cddl_deps = "deps")
cddl_deps()
load("@cddl_crate_index//:defs.bzl", cddl_crate_repositories = "crate_repositories")
cddl_crate_repositories()
http_archive(
name = "cddl_lib",
build_file = "//third_party/cddl:cddl.BUILD",
patch_args = ["-p1"],
patches = [
"//third_party:cddl/cddl.patch",
],
sha256 = "01e04989c6482e851dc22f376f1c2e1cc493e1ae7b808ae78180d539e6939acb",
strip_prefix = "cddl-0.9.4",
urls = ["https://github.com/anweiss/cddl/archive/refs/tags/0.9.4.zip"],
workspace_file = "//third_party/cddl:WORKSPACE",
)