@@ -24,8 +24,7 @@ load("//examples/lapack:patches.bzl", "LAPACK_PATCHES")
2424
2525# buildifier: disable=function-docstring
2626def internal_dependencies ():
27- maybe (
28- http_archive ,
27+ http_archive (
2928 name = "io_bazel_stardoc" ,
3029 sha256 = "dfbc364aaec143df5e6c52faf1f1166775a5b4408243f445f44b661cfdc3134f" ,
3130 urls = [
@@ -34,33 +33,36 @@ def internal_dependencies():
3433 ],
3534 )
3635
37- maybe (
38- http_archive ,
36+ http_archive (
3937 name = "aspect_bazel_lib" ,
4038 sha256 = "a7e356f8a5cb8bf1e9be38c2c617ad22f5a1606792e839fc040971bdfbecf971" ,
4139 strip_prefix = "bazel-lib-1.40.2" ,
4240 url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.40.2.tar.gz" ,
4341 )
4442
45- maybe (
46- http_archive ,
43+ http_archive (
4744 name = "rules_foreign_cc" ,
48- sha256 = "2a4d07cd64b0719b39a7c12218a3e507672b82a97b98c6a89d38565894cf7c51 " ,
49- strip_prefix = "rules_foreign_cc-0.9.0 " ,
50- url = "https://github.com/bazelbuild /rules_foreign_cc/archive/0.9.0 .tar.gz" ,
45+ sha256 = "32759728913c376ba45b0116869b71b68b1c2ebf8f2bcf7b41222bc07b773d73 " ,
46+ strip_prefix = "rules_foreign_cc-0.15.1 " ,
47+ url = "https://github.com/bazel-contrib /rules_foreign_cc/releases/download/0.15.1/rules_foreign_cc-0.15.1 .tar.gz" ,
5148 )
5249
53- maybe (
54- http_archive ,
50+ http_archive (
51+ name = "rules_python" ,
52+ sha256 = "7b9039c31e909cf59eeaea8ccbdc54f09f7ebaeb9609b94371c7de45e802977c" ,
53+ strip_prefix = "rules_python-1.5.0" ,
54+ url = "https://github.com/bazel-contrib/rules_python/releases/download/1.5.0/rules_python-1.5.0.tar.gz" ,
55+ )
56+
57+ http_archive (
5558 name = "openssl" ,
5659 build_file_content = _ALL_SRCS ,
5760 sha256 = "40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" ,
5861 strip_prefix = "openssl-1.1.1n" ,
5962 url = "https://www.openssl.org/source/openssl-1.1.1n.tar.gz" ,
6063 )
6164
62- maybe (
63- http_archive ,
65+ http_archive (
6466 name = "lapack" ,
6567 build_file_content = _ALL_SRCS ,
6668 patch_cmds = LAPACK_PATCHES ,
@@ -69,27 +71,24 @@ def internal_dependencies():
6971 url = "https://github.com/Reference-LAPACK/lapack/archive/refs/tags/v3.12.0.tar.gz" ,
7072 )
7173
72- maybe (
73- http_archive ,
74+ http_archive (
7475 name = "avl" ,
7576 build_file = "@//:examples/avl/avl.BUILD.bazel" ,
7677 sha256 = "6d62e563578b79795a84958cfe4e221a4c9847fbeb4a821d45bc049934fc6a90" ,
7778 strip_prefix = "Avl" ,
7879 url = "https://web.mit.edu/drela/Public/web/avl/avl3.40b.tgz" ,
7980 )
8081
81- maybe (
82- http_archive ,
82+ http_archive (
8383 name = "com_google_protobuf" ,
84- sha256 = "930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53" ,
85- strip_prefix = "protobuf-3.21.12" ,
86- urls = [
87- "https://github.com/protocolbuffers/ protobuf/archive/v3.21.12.tar.gz " ,
88- ] ,
84+ patches = [ "//third_party/patches:com_google_protobuf.patch" ] ,
85+ patch_args = [ "-p1" ] ,
86+ sha256 = "008a11cc56f9b96679b4c285fd05f46d317d685be3ab524b2a310be0fbad987e" ,
87+ strip_prefix = " protobuf-29.3 " ,
88+ url = "https://github.com/protocolbuffers/protobuf/releases/download/v29.3/protobuf-29.3.tar.gz" ,
8989 )
9090
91- maybe (
92- http_archive ,
91+ http_archive (
9392 name = "rules_pkg" ,
9493 sha256 = "8f9ee2dc10c1ae514ee599a8b42ed99fa262b757058f65ad3c384289ff70c4b8" ,
9594 urls = [
0 commit comments