@@ -21,27 +21,64 @@ load("//third_party/cuda:cuda.bzl", "cuda_configure")
2121def workspace ():
2222 """Load requested packages."""
2323
24- # Keep a WORKSPACE-compatible stable rules_python release.
2524 maybe (
2625 http_archive ,
27- name = "rules_python" ,
28- patches = [
29- "//third_party/rules_python:py_repositories_protobuf34.patch" ,
26+ name = "rules_cc" ,
27+ sha256 = "283fa1cdaaf172337898749cf4b9b1ef5ea269da59540954e51fba0e7b8f277a" ,
28+ strip_prefix = "rules_cc-0.2.17" ,
29+ urls = [
30+ "https://github.com/bazelbuild/rules_cc/releases/download/0.2.17/rules_cc-0.2.17.tar.gz" ,
31+ ],
32+ )
33+
34+ maybe (
35+ http_archive ,
36+ name = "rules_java" ,
37+ sha256 = "9de4e178c2c4f98d32aafe5194c3f2b717ae10405caa11bdcb460ac2a6f61516" ,
38+ urls = [
39+ "https://github.com/bazelbuild/rules_java/releases/download/9.6.1/rules_java-9.6.1.tar.gz" ,
40+ ],
41+ )
42+
43+ # Keep both repo names while this WORKSPACE still mixes legacy rules_python
44+ # and newer rules_cc/rules_java consumers.
45+ maybe (
46+ http_archive ,
47+ name = "protobuf" ,
48+ sha256 = "9f0933ad12abb0a8957b3b64aefc34774ccbe57f77f890c66cb4067519bb83c1" ,
49+ strip_prefix = "protobuf-34.1" ,
50+ urls = [
51+ "https://github.com/protocolbuffers/protobuf/releases/download/v34.1/protobuf-34.1.bazel.tar.gz" ,
3052 ],
31- sha256 = "690e0141724abb568267e003c7b6d9a54925df40c275a870a4d934161dc9dd53" ,
32- strip_prefix = "rules_python-0.40.0" ,
53+ )
54+
55+ maybe (
56+ http_archive ,
57+ name = "com_google_protobuf" ,
58+ sha256 = "9f0933ad12abb0a8957b3b64aefc34774ccbe57f77f890c66cb4067519bb83c1" ,
59+ strip_prefix = "protobuf-34.1" ,
60+ urls = [
61+ "https://github.com/protocolbuffers/protobuf/releases/download/v34.1/protobuf-34.1.bazel.tar.gz" ,
62+ ],
63+ )
64+
65+ maybe (
66+ http_archive ,
67+ name = "rules_python" ,
68+ sha256 = "2f5c284fbb4e86045c2632d3573fc006facbca5d1fa02976e89dc0cd5488b590" ,
69+ strip_prefix = "rules_python-1.6.3" ,
3370 urls = [
34- "https://github.com/bazelbuild/rules_python/releases/download/0.40.0 /rules_python-0.40.0 .tar.gz" ,
71+ "https://github.com/bazelbuild/rules_python/releases/download/1.6.3 /rules_python-1.6.3 .tar.gz" ,
3572 ],
3673 )
3774
3875 maybe (
3976 http_archive ,
4077 name = "rules_foreign_cc" ,
41- sha256 = "a2e6fb56e649c1ee79703e99aa0c9d13c6cc53c8d7a0cbb8797ab2888bbc99a3 " ,
42- strip_prefix = "rules_foreign_cc-0.12.0 " ,
78+ sha256 = "32759728913c376ba45b0116869b71b68b1c2ebf8f2bcf7b41222bc07b773d73 " ,
79+ strip_prefix = "rules_foreign_cc-0.15.1 " ,
4380 urls = [
44- "https://github.com/bazelbuild /rules_foreign_cc/releases/download/0.12.0 /rules_foreign_cc-0.12.0 .tar.gz" ,
81+ "https://github.com/bazel-contrib /rules_foreign_cc/releases/download/0.15.1 /rules_foreign_cc-0.15.1 .tar.gz" ,
4582 ],
4683 )
4784
0 commit comments