@@ -14,6 +14,7 @@ http_archive(
14
14
],
15
15
)
16
16
17
+
17
18
#Install bazel platform version 0.0.6
18
19
http_archive (
19
20
name = "platforms" ,
@@ -41,19 +42,24 @@ http_archive(
41
42
load ("@rules_foreign_cc//foreign_cc:repositories.bzl" , "rules_foreign_cc_dependencies" )
42
43
rules_foreign_cc_dependencies ()
43
44
45
+ # lts_20230125.3
46
+ ABSL_COMMIT = "c2435f8342c2d0ed8101cb43adfd605fdc52dca2"
44
47
http_archive (
45
48
name = "com_google_absl" ,
46
- urls = ["https://github.com/abseil/abseil-cpp/archive/940c06c25d2953f44310b68eb8aab6114dba11fb.zip" ],
47
- strip_prefix = "abseil-cpp-940c06c25d2953f44310b68eb8aab6114dba11fb" ,
48
- sha256 = "0e800799aa64d0b4d354f3ff317bbd5fbf42f3a522ab0456bb749fc8d3b67415" ,
49
+ sha256 = "9892836ab0d3f099b8c15076c6f4168144f452d097bd49da215fe0df36a2d48c" ,
50
+ strip_prefix = "abseil-cpp-%s" % ABSL_COMMIT ,
51
+ urls = [
52
+ "https://github.com/abseil/abseil-cpp/archive/%s.tar.gz" % ABSL_COMMIT ,
53
+ ],
49
54
)
50
55
56
+ BORINGSSL_COMMIT = "adde128bd706c6caf26dd595e631871b09f40bf6"
51
57
http_archive (
52
58
name = "boringssl" ,
53
- sha256 = "1188e29000013ed6517168600fc35a010d58c5d321846d6a6dfee74e4c788b45 " ,
54
- strip_prefix = "boringssl-7f634429a04abc48e2eb041c81c5235816c96514" ,
59
+ sha256 = "7fc7632ce455575025be2cac610a23377753b01a4932d94a452cf831a5b32e9e " ,
60
+ strip_prefix = "boringssl-%s" % BORINGSSL_COMMIT ,
55
61
urls = [
56
- "https://github.com/google/boringssl/archive/7f634429a04abc48e2eb041c81c5235816c96514 .tar.gz" ,
62
+ "https://github.com/google/boringssl/archive/%s .tar.gz" % BORINGSSL_COMMIT ,
57
63
],
58
64
)
59
65
@@ -69,10 +75,10 @@ http_archive(
69
75
70
76
http_archive (
71
77
name = "com_google_googletest" ,
72
- sha256 = "ff7a82736e158c077e76188232eac77913a15dac0b22508c390ab3f88e6d6d86 " ,
73
- strip_prefix = "googletest-b6cd405286ed8635ece71c72f118e659f4ade3fb " ,
78
+ sha256 = "b976cf4fd57b318afdb1bdb27fc708904b3e4bed482859eb94ba2b4bdd077fe2 " ,
79
+ strip_prefix = "googletest-f8d7d77c06936315286eb55f8de22cd23c188571 " ,
74
80
urls = [
75
- "https://github.com/google/googletest/archive/b6cd405286ed8635ece71c72f118e659f4ade3fb .zip" ,
81
+ "https://github.com/google/googletest/archive/f8d7d77c06936315286eb55f8de22cd23c188571 .zip" ,
76
82
],
77
83
)
78
84
@@ -107,26 +113,6 @@ http_archive(
107
113
build_file = "//ml_metadata/third_party:six.BUILD"
108
114
)
109
115
110
- http_archive (
111
- name = "com_google_protobuf" ,
112
- sha256 = "930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53" ,
113
- strip_prefix = "protobuf-3.21.12" ,
114
- urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.21.12.tar.gz" ],
115
- )
116
-
117
- load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" )
118
-
119
- protobuf_deps ()
120
-
121
- # Needed by Protobuf.
122
- http_archive (
123
- name = "zlib" ,
124
- build_file = "@com_google_protobuf//:third_party/zlib.BUILD" ,
125
- sha256 = "d8688496ea40fb61787500e863cc63c9afcbc524468cedeb478068924eb54932" ,
126
- strip_prefix = "zlib-1.2.12" ,
127
- urls = ["https://github.com/madler/zlib/archive/v1.2.12.tar.gz" ],
128
- )
129
-
130
116
http_archive (
131
117
name = "pybind11_bazel" ,
132
118
strip_prefix = "pybind11_bazel-faf56fb3df11287f26dbc66fdedf60a2fc2c6631" ,
@@ -146,12 +132,6 @@ http_archive(
146
132
load ("@pybind11_bazel//:python_configure.bzl" , "python_configure" )
147
133
python_configure (name = "local_config_python" )
148
134
149
- # Needed by @com_google_protobuf.
150
- bind (
151
- name = "python_headers" ,
152
- actual = "@local_config_python//:python_headers" ,
153
- )
154
-
155
135
# Note - use @com_github_google_re2 instead of more canonical
156
136
# @com_google_re2 for consistency with dependency grpc
157
137
# which uses @com_github_google_re2.
@@ -210,7 +190,7 @@ go_repository(
210
190
211
191
go_rules_dependencies ()
212
192
213
- go_register_toolchains ("host" )
193
+ go_register_toolchains ()
214
194
215
195
gazelle_dependencies ()
216
196
0 commit comments