Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 1 | # Copyright 2020 The Bazel Authors. All rights reserved. |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
Googler | bd7a6b9 | 2022-02-24 07:38:58 -0800 | [diff] [blame] | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
Xavier Bonaventura | fc4d9d6 | 2021-12-08 02:17:49 -0800 | [diff] [blame] | 14 | """List the distribution dependencies we need to build Bazel. |
| 15 | |
| 16 | Note for Bazel users: This is not the file that you are looking for. |
| 17 | This is internal source and is not intended to tell you what version |
| 18 | you should use for each dependency. |
| 19 | """ |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 20 | |
| 21 | DIST_DEPS = { |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 22 | ######################################## |
| 23 | # |
| 24 | # Runtime language dependencies |
| 25 | # |
| 26 | ######################################## |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 27 | "platforms": { |
aiuto | 676a0c8 | 2022-02-09 08:08:17 -0800 | [diff] [blame] | 28 | "archive": "platforms-0.0.5.tar.gz", |
| 29 | "sha256": "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 30 | "urls": [ |
aiuto | 676a0c8 | 2022-02-09 08:08:17 -0800 | [diff] [blame] | 31 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", |
| 32 | "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 33 | ], |
| 34 | "used_in": [ |
| 35 | "additional_distfiles", |
| 36 | "test_WORKSPACE_files", |
| 37 | ], |
| 38 | }, |
Chi Wang | 26b94ff | 2021-09-28 23:42:26 -0700 | [diff] [blame] | 39 | "bazelci_rules": { |
| 40 | "archive": "bazelci_rules-1.0.0.tar.gz", |
| 41 | "sha256": "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", |
| 42 | "strip_prefix": "bazelci_rules-1.0.0", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 43 | "urls": [ |
Chi Wang | 38a22d1 | 2021-12-06 08:30:58 -0800 | [diff] [blame] | 44 | "https://mirror.bazel.build/github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", |
Chi Wang | 26b94ff | 2021-09-28 23:42:26 -0700 | [diff] [blame] | 45 | "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 46 | ], |
| 47 | "used_in": [ |
| 48 | "additional_distfiles", |
| 49 | ], |
| 50 | }, |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 51 | # Keep in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/cc_configure.WORKSPACE. |
| 52 | # Keep in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 53 | # Note: This is not in sync with src/test/java/com/google/devtools/build/lib/blackbox/framework/BlackBoxTestEnvironment.java. |
| 54 | # Perhaps it should be. |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 55 | "rules_cc": { |
| 56 | "archive": "b1c40e1de81913a3c40e5948f78719c28152486d.zip", |
| 57 | "sha256": "d0c573b94a6ef20ef6ff20154a23d0efcb409fb0e1ff0979cec318dfe42f0cdd", |
| 58 | "strip_prefix": "rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d", |
| 59 | "urls": [ |
| 60 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip", |
| 61 | "https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip", |
| 62 | ], |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 63 | "used_in": [ |
| 64 | "additional_distfiles", |
| 65 | "test_WORKSPACE_files", |
| 66 | ], |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 67 | }, |
Tony Aiuto | b15a8b4 | 2021-01-08 07:42:57 -0800 | [diff] [blame] | 68 | "rules_java": { |
| 69 | "archive": "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 70 | "sha256": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
| 71 | "strip_prefix": "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", |
| 72 | "urls": [ |
| 73 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 74 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 75 | ], |
| 76 | "used_in": [ |
| 77 | "additional_distfiles", |
| 78 | "test_WORKSPACE_files", |
| 79 | ], |
Tony Aiuto | b15a8b4 | 2021-01-08 07:42:57 -0800 | [diff] [blame] | 80 | }, |
Tony Aiuto | 320bc94 | 2021-01-14 07:43:21 -0800 | [diff] [blame] | 81 | # TODO(aiuto): Update src/test/java/com/google/devtools/build/lib/blackbox/framework/BlackBoxTestEnvironment.java to use |
| 82 | # this dynamically. |
| 83 | "rules_proto": { |
| 84 | "archive": "7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", |
| 85 | "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", |
| 86 | "strip_prefix": "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488", |
| 87 | "urls": [ |
| 88 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", |
| 89 | "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", |
| 90 | ], |
| 91 | "used_in": [ |
| 92 | "additional_distfiles", |
| 93 | "test_WORKSPACE_files", |
| 94 | ], |
| 95 | }, |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 96 | ################################################# |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 97 | # |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 98 | # Dependencies which are part of the Bazel binary |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 99 | # |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 100 | ################################################# |
| 101 | "com_google_protobuf": { |
Chi Wang | b9e89e3 | 2022-01-20 08:52:53 -0800 | [diff] [blame] | 102 | "archive": "v3.19.2.tar.gz", |
| 103 | "sha256": "4dd35e788944b7686aac898f77df4e9a54da0ca694b8801bd6b2a9ffc1b3085e", |
| 104 | "strip_prefix": "protobuf-3.19.2", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 105 | "urls": [ |
Chi Wang | b9e89e3 | 2022-01-20 08:52:53 -0800 | [diff] [blame] | 106 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz", |
| 107 | "https://github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 108 | ], |
| 109 | "patch_args": ["-p1"], |
Chi Wang | b9e89e3 | 2022-01-20 08:52:53 -0800 | [diff] [blame] | 110 | "patches": ["//third_party/protobuf:3.19.2.patch"], |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 111 | "used_in": [ |
| 112 | "additional_distfiles", |
| 113 | "test_WORKSPACE_files", |
| 114 | ], |
| 115 | }, |
Tony Aiuto | 320bc94 | 2021-01-14 07:43:21 -0800 | [diff] [blame] | 116 | "protocolbuffers": { |
Benjamin Peterson | c01219e | 2021-10-25 02:29:55 -0700 | [diff] [blame] | 117 | "archive": "2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz", |
| 118 | "sha256": "6a5f67874af66b239b709c572ac1a5a00fdb1b29beaf13c3e6f79b1ba10dc7c4", |
Tony Aiuto | 320bc94 | 2021-01-14 07:43:21 -0800 | [diff] [blame] | 119 | "urls": [ |
Benjamin Peterson | c01219e | 2021-10-25 02:29:55 -0700 | [diff] [blame] | 120 | "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz", |
| 121 | "https://github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz", |
Tony Aiuto | 320bc94 | 2021-01-14 07:43:21 -0800 | [diff] [blame] | 122 | ], |
| 123 | "used_in": [ |
| 124 | "additional_distfiles", |
| 125 | "test_WORKSPACE_files", |
| 126 | ], |
| 127 | }, |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 128 | "com_github_grpc_grpc": { |
Benjamin Peterson | c01219e | 2021-10-25 02:29:55 -0700 | [diff] [blame] | 129 | "archive": "v1.41.0.tar.gz", |
| 130 | "sha256": "e5fb30aae1fa1cffa4ce00aa0bbfab908c0b899fcf0bbc30e268367d660d8656", |
| 131 | "strip_prefix": "grpc-1.41.0", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 132 | "urls": [ |
Benjamin Peterson | c01219e | 2021-10-25 02:29:55 -0700 | [diff] [blame] | 133 | "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.41.0.tar.gz", |
| 134 | "https://github.com/grpc/grpc/archive/v1.41.0.tar.gz", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 135 | ], |
| 136 | "patch_args": ["-p1"], |
| 137 | "patches": [ |
Benjamin Peterson | c01219e | 2021-10-25 02:29:55 -0700 | [diff] [blame] | 138 | "//third_party/grpc:grpc_1.41.0.patch", |
Niyas Sait | 0ba4caa | 2022-02-02 10:29:06 -0800 | [diff] [blame] | 139 | "//third_party/grpc:grpc_1.41.0.win_arm64.patch", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 140 | ], |
| 141 | "used_in": [ |
| 142 | "additional_distfiles", |
| 143 | "test_WORKSPACE_files", |
| 144 | ], |
| 145 | }, |
| 146 | "c-ares": { |
| 147 | "archive": "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 148 | "sha256": "e8c2751ddc70fed9dc6f999acd92e232d5846f009ee1674f8aee81f19b2b915a", |
| 149 | "urls": [ |
| 150 | "https://mirror.bazel.build/github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 151 | "https://github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 152 | ], |
| 153 | "used_in": [ |
| 154 | "additional_distfiles", |
| 155 | "test_WORKSPACE_files", |
| 156 | ], |
| 157 | }, |
| 158 | "re2": { |
| 159 | "archive": "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", |
| 160 | "sha256": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e", |
| 161 | "urls": [ |
| 162 | "https://mirror.bazel.build/github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", |
| 163 | "https://github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", |
| 164 | ], |
| 165 | "used_in": [ |
| 166 | "additional_distfiles", |
| 167 | "test_WORKSPACE_files", |
| 168 | ], |
| 169 | }, |
Yun Peng | b47aa71 | 2022-04-05 04:21:29 -0700 | [diff] [blame] | 170 | "com_google_absl": { |
| 171 | "archive": "20211102.0.tar.gz", |
| 172 | "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 173 | "urls": [ |
Yun Peng | b47aa71 | 2022-04-05 04:21:29 -0700 | [diff] [blame] | 174 | "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", |
| 175 | "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 176 | ], |
| 177 | "used_in": [ |
| 178 | "additional_distfiles", |
| 179 | "test_WORKSPACE_files", |
| 180 | ], |
Yun Peng | b47aa71 | 2022-04-05 04:21:29 -0700 | [diff] [blame] | 181 | "strip_prefix": "abseil-cpp-20211102.0", |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 182 | }, |
Alessandro Patti | 6da8086 | 2021-11-11 22:49:37 -0800 | [diff] [blame] | 183 | "zstd-jni": { |
| 184 | "archive": "v1.5.0-4.zip", |
| 185 | "patch_args": ["-p1"], |
| 186 | "patches": [ |
| 187 | "//third_party:zstd-jni/Native.java.patch", |
| 188 | ], |
| 189 | "sha256": "d320d59b89a163c5efccbe4915ae6a49883ce653cdc670643dfa21c6063108e4", |
| 190 | "urls": [ |
| 191 | "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.5.0-4.zip", |
| 192 | "https://github.com/luben/zstd-jni/archive/v1.5.0-4.zip", |
| 193 | ], |
| 194 | "used_in": [ |
| 195 | "additional_distfiles", |
| 196 | ], |
| 197 | }, |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 198 | ################################################### |
| 199 | # |
| 200 | # Build time dependencies for testing and packaging |
| 201 | # |
| 202 | ################################################### |
Tony Aiuto | 2b7ec5c | 2021-01-11 07:50:26 -0800 | [diff] [blame] | 203 | "bazel_skylib": { |
| 204 | "archive": "bazel-skylib-1.0.3.tar.gz", |
| 205 | "sha256": "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", |
| 206 | "urls": [ |
| 207 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", |
| 208 | "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", |
| 209 | ], |
| 210 | "used_in": [ |
| 211 | "additional_distfiles", |
| 212 | "test_WORKSPACE_files", |
| 213 | ], |
| 214 | }, |
| 215 | "io_bazel_skydoc": { |
| 216 | "archive": "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
| 217 | "sha256": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", |
| 218 | "urls": [ |
| 219 | "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
| 220 | "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
| 221 | ], |
| 222 | "used_in": [ |
| 223 | "additional_distfiles", |
| 224 | ], |
| 225 | "strip_prefix": "stardoc-1ef781ced3b1443dca3ed05dec1989eca1a4e1cd", |
| 226 | }, |
Tony Aiuto | 46bb545 | 2022-05-17 09:35:28 -0700 | [diff] [blame] | 227 | "rules_license": { |
| 228 | "archive": "rules_license-0.0.2.tar.gz", |
| 229 | "sha256": "a5edffc810c74e32a9a7ef5f9591bc05d1362b244b9e22323f38cbbbaba41281", |
| 230 | "urls": [ |
| 231 | "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.2/rules_license-0.0.2.tar.gz", |
| 232 | "https://github.com/bazelbuild/rules_license/releases/download/0.0.2/rules_license-0.0.2.tar.gz", |
| 233 | ], |
| 234 | "used_in": [ |
| 235 | "additional_distfiles", |
| 236 | ], |
| 237 | }, |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 238 | "rules_pkg": { |
aiuto | 3441ef2 | 2022-04-12 12:40:59 -0700 | [diff] [blame] | 239 | "archive": "rules_pkg-0.7.0.tar.gz", |
| 240 | "sha256": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 241 | "urls": [ |
aiuto | 3441ef2 | 2022-04-12 12:40:59 -0700 | [diff] [blame] | 242 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz", |
| 243 | "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz", |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 244 | ], |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 245 | "used_in": [ |
| 246 | "additional_distfiles", |
| 247 | ], |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 248 | }, |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 249 | # for Stardoc |
| 250 | "io_bazel_rules_sass": { |
| 251 | "archive": "1.25.0.zip", |
| 252 | "sha256": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", |
| 253 | "strip_prefix": "rules_sass-1.25.0", |
| 254 | "urls": [ |
| 255 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", |
| 256 | "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip", |
| 257 | ], |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 258 | "used_in": [ |
| 259 | "additional_distfiles", |
| 260 | ], |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 261 | }, |
| 262 | # for Stardoc |
| 263 | "build_bazel_rules_nodejs": { |
| 264 | "archive": "rules_nodejs-2.2.2.tar.gz", |
| 265 | "sha256": "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c", |
| 266 | "urls": [ |
| 267 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz", |
| 268 | "https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz", |
| 269 | ], |
Tony Aiuto | e973aef | 2021-01-11 00:32:51 -0800 | [diff] [blame] | 270 | "used_in": [ |
| 271 | "additional_distfiles", |
| 272 | ], |
Tony Aiuto | 1c9e7ca | 2021-01-05 08:01:21 -0800 | [diff] [blame] | 273 | }, |
menny | f431b0c | 2021-01-13 09:18:29 -0800 | [diff] [blame] | 274 | "desugar_jdk_libs": { |
Menny Even Danan | 29cfb0b | 2021-03-31 15:21:30 -0700 | [diff] [blame] | 275 | # Commit 5847d6a06302136d95a14b4cbd4b55a9c9f1436e of 2021-03-10 |
| 276 | "archive": "5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", |
| 277 | "sha256": "299452e6f4a4981b2e6d22357f7332713382a63e4c137f5fd6b89579f6d610cb", |
| 278 | "strip_prefix": "desugar_jdk_libs-5847d6a06302136d95a14b4cbd4b55a9c9f1436e", |
menny | f431b0c | 2021-01-13 09:18:29 -0800 | [diff] [blame] | 279 | "urls": [ |
Menny Even Danan | 29cfb0b | 2021-03-31 15:21:30 -0700 | [diff] [blame] | 280 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", |
| 281 | "https://github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", |
menny | f431b0c | 2021-01-13 09:18:29 -0800 | [diff] [blame] | 282 | ], |
| 283 | "used_in": [ |
| 284 | "additional_distfiles", |
| 285 | ], |
| 286 | }, |
aiuto | bbeb1da | 2021-01-15 06:50:56 -0800 | [diff] [blame] | 287 | "remote_coverage_tools": { |
Charles Mita | a70d84b | 2022-05-06 02:52:11 -0700 | [diff] [blame] | 288 | "archive": "coverage_output_generator-v2.6.zip", |
| 289 | "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af", |
aiuto | bbeb1da | 2021-01-15 06:50:56 -0800 | [diff] [blame] | 290 | "urls": [ |
Charles Mita | a70d84b | 2022-05-06 02:52:11 -0700 | [diff] [blame] | 291 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip", |
aiuto | bbeb1da | 2021-01-15 06:50:56 -0800 | [diff] [blame] | 292 | ], |
| 293 | "used_in": [ |
aiuto | bbeb1da | 2021-01-15 06:50:56 -0800 | [diff] [blame] | 294 | "test_WORKSPACE_files", |
| 295 | ], |
| 296 | }, |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 297 | "remote_java_tools": { |
John Cater | 2cff2ac | 2021-02-26 07:38:37 -0800 | [diff] [blame] | 298 | "aliases": [ |
| 299 | "remote_java_tools_test", |
| 300 | "remote_java_tools_for_testing", |
| 301 | ], |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 302 | "archive": "java_tools-v11.7.1.zip", |
| 303 | "sha256": "2eede49b2d80135e0ea22180f63df26db2ed4b795c1c041b25cc653d6019fbec", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 304 | "urls": [ |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 305 | "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools-v11.7.1.zip", |
| 306 | "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools-v11.7.1.zip", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 307 | ], |
| 308 | "used_in": [ |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 309 | "test_WORKSPACE_files", |
| 310 | ], |
| 311 | }, |
| 312 | "remote_java_tools_linux": { |
John Cater | 2cff2ac | 2021-02-26 07:38:37 -0800 | [diff] [blame] | 313 | "aliases": [ |
| 314 | "remote_java_tools_test_linux", |
| 315 | "remote_java_tools_linux_for_testing", |
| 316 | ], |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 317 | "archive": "java_tools_linux-v11.7.1.zip", |
| 318 | "sha256": "f78077f0c043d0d13c82de0ee4a99753e66bb18ec46e3601fa2a10e7f26798a8", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 319 | "urls": [ |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 320 | "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_linux-v11.7.1.zip", |
| 321 | "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_linux-v11.7.1.zip", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 322 | ], |
| 323 | "used_in": [ |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 324 | "test_WORKSPACE_files", |
| 325 | ], |
| 326 | }, |
| 327 | "remote_java_tools_windows": { |
John Cater | 2cff2ac | 2021-02-26 07:38:37 -0800 | [diff] [blame] | 328 | "aliases": [ |
| 329 | "remote_java_tools_test_windows", |
| 330 | "remote_java_tools_windows_for_testing", |
| 331 | ], |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 332 | "archive": "java_tools_windows-v11.7.1.zip", |
| 333 | "sha256": "a7086734866505292ee4c206328c73c6af127e69bd51b98c9c186ae4b9b6d2db", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 334 | "urls": [ |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 335 | "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_windows-v11.7.1.zip", |
| 336 | "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_windows-v11.7.1.zip", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 337 | ], |
| 338 | "used_in": [ |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 339 | "test_WORKSPACE_files", |
| 340 | ], |
| 341 | }, |
| 342 | "remote_java_tools_darwin": { |
John Cater | 2cff2ac | 2021-02-26 07:38:37 -0800 | [diff] [blame] | 343 | "aliases": [ |
| 344 | "remote_java_tools_test_darwin", |
| 345 | "remote_java_tools_darwin_for_testing", |
| 346 | ], |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 347 | "archive": "java_tools_darwin-v11.7.1.zip", |
| 348 | "sha256": "4d6d388b54ad3b9aa35b30dd67af8d71c4c240df8cfb5000bbec67bdd5c53a73", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 349 | "urls": [ |
hvd | 22c91da | 2022-04-14 13:04:25 -0700 | [diff] [blame] | 350 | "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_darwin-v11.7.1.zip", |
| 351 | "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_darwin-v11.7.1.zip", |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 352 | ], |
| 353 | "used_in": [ |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 354 | "test_WORKSPACE_files", |
| 355 | ], |
| 356 | }, |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 357 | "remotejdk11_linux": { |
| 358 | "aliases": [ |
| 359 | "remotejdk11_linux_for_testing", |
| 360 | "openjdk11_linux_archive", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 361 | "openjdk_linux_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 362 | ], |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 363 | "archive": "zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", |
| 364 | "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", |
| 365 | "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 366 | "urls": [ |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 367 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", |
| 368 | "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 369 | ], |
| 370 | "used_in": ["test_WORKSPACE_files"], |
| 371 | }, |
| 372 | "remotejdk11_linux_aarch64": { |
| 373 | "aliases": [ |
| 374 | "remotejdk11_linux_aarch64_for_testing", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 375 | "openjdk_linux_aarch64_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 376 | ], |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 377 | "archive": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", |
| 378 | "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", |
| 379 | "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64", |
Liam Miller-Cushon | 7de1571 | 2022-01-25 11:34:44 -0800 | [diff] [blame] | 380 | "urls": [ |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 381 | "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", |
| 382 | "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", |
Liam Miller-Cushon | 7de1571 | 2022-01-25 11:34:44 -0800 | [diff] [blame] | 383 | ], |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 384 | "used_in": ["test_WORKSPACE_files"], |
| 385 | }, |
| 386 | "remotejdk11_linux_ppc64le": { |
| 387 | "aliases": [ |
| 388 | "remotejdk11_linux_ppc64le_for_testing", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 389 | "openjdk_linux_ppc64le_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 390 | ], |
Liam Miller-Cushon | 2ef7d6c | 2022-04-28 00:13:45 -0700 | [diff] [blame] | 391 | "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", |
| 392 | "strip_prefix": "jdk-11.0.15+10", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 393 | "urls": [ |
Liam Miller-Cushon | 2ef7d6c | 2022-04-28 00:13:45 -0700 | [diff] [blame] | 394 | "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", |
| 395 | "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 396 | ], |
| 397 | "used_in": [], |
| 398 | }, |
| 399 | "remotejdk11_linux_s390x": { |
| 400 | "aliases": [ |
| 401 | "remotejdk11_linux_s390x_for_testing", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 402 | "openjdk_linux_s390x_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 403 | ], |
Liam Miller-Cushon | 2ef7d6c | 2022-04-28 00:13:45 -0700 | [diff] [blame] | 404 | "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", |
| 405 | "strip_prefix": "jdk-11.0.15+10", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 406 | "urls": [ |
Liam Miller-Cushon | 2ef7d6c | 2022-04-28 00:13:45 -0700 | [diff] [blame] | 407 | "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", |
| 408 | "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 409 | ], |
| 410 | "used_in": [], |
| 411 | }, |
| 412 | "remotejdk11_macos": { |
| 413 | "aliases": [ |
| 414 | "remotejdk11_macos_for_testing", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 415 | "openjdk_macos_x86_64_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 416 | "openjdk11_darwin_archive", |
| 417 | ], |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 418 | "archive": "zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", |
| 419 | "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", |
| 420 | "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", |
Liam Miller-Cushon | 7de1571 | 2022-01-25 11:34:44 -0800 | [diff] [blame] | 421 | "urls": [ |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 422 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", |
| 423 | "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", |
Liam Miller-Cushon | 7de1571 | 2022-01-25 11:34:44 -0800 | [diff] [blame] | 424 | ], |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 425 | "used_in": ["test_WORKSPACE_files"], |
| 426 | }, |
| 427 | "remotejdk11_macos_aarch64": { |
| 428 | "aliases": [ |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 429 | "openjdk_macos_aarch64_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 430 | "remotejdk11_macos_aarch64_for_testing", |
| 431 | "openjdk11_darwin_aarch64_archive", |
| 432 | ], |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 433 | "archive": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", |
| 434 | "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", |
| 435 | "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 436 | "urls": [ |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 437 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", |
| 438 | "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 439 | ], |
| 440 | "used_in": ["test_WORKSPACE_files"], |
| 441 | }, |
| 442 | "remotejdk11_win": { |
| 443 | "aliases": [ |
| 444 | "remotejdk11_win_for_testing", |
| 445 | "openjdk11_windows_archive", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 446 | "openjdk_win_vanilla", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 447 | ], |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 448 | "archive": "zulu11.56.19-ca-jdk11.0.15-win_x64.zip", |
| 449 | "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", |
| 450 | "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", |
Liam Miller-Cushon | 7de1571 | 2022-01-25 11:34:44 -0800 | [diff] [blame] | 451 | "urls": [ |
Liam Miller-Cushon | 8f3d99a | 2022-04-21 08:10:51 -0700 | [diff] [blame] | 452 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", |
| 453 | "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", |
Liam Miller-Cushon | 7de1571 | 2022-01-25 11:34:44 -0800 | [diff] [blame] | 454 | ], |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 455 | "used_in": ["test_WORKSPACE_files"], |
| 456 | }, |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 457 | "remotejdk17_win_arm64": { |
| 458 | "aliases": [ |
Niyas Sait | b602425 | 2022-02-10 06:59:31 -0800 | [diff] [blame] | 459 | "remotejdk17_win_arm64_for_testing", |
| 460 | "openjdk17_windows_arm64_archive", |
cushon | 095f1e2 | 2022-02-08 10:54:53 -0800 | [diff] [blame] | 461 | "openjdk_win_arm64_vanilla", |
| 462 | ], |
| 463 | "archive": "zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", |
| 464 | "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877", |
| 465 | "strip_prefix": "zulu17.30.15-ca-jdk17.0.1-win_aarch64", |
| 466 | "urls": [ |
| 467 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", |
| 468 | "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", |
| 469 | ], |
| 470 | "used_in": ["test_WORKSPACE_files"], |
| 471 | }, |
Niyas Sait | b602425 | 2022-02-10 06:59:31 -0800 | [diff] [blame] | 472 | "remotejdk11_win_arm64": { |
| 473 | "aliases": [ |
| 474 | "remotejdk11_win_arm64_for_testing", |
| 475 | "openjdk11_windows_arm64_archive", |
| 476 | ], |
| 477 | "archive": "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", |
| 478 | "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", |
| 479 | "strip_prefix": "jdk-11.0.13+8", |
| 480 | "urls": [ |
| 481 | "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", |
| 482 | ], |
| 483 | "used_in": ["test_WORKSPACE_files"], |
| 484 | }, |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 485 | "remotejdk17_linux": { |
| 486 | "aliases": [ |
| 487 | "remotejdk17_linux_for_testing", |
| 488 | "openjdk17_linux_archive", |
| 489 | ], |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 490 | "sha256": "73d5c4bae20325ca41b606f7eae64669db3aac638c5b3ead4a975055846ad6de", |
| 491 | "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-linux_x64", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 492 | "urls": [ |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 493 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz", |
| 494 | "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 495 | ], |
| 496 | "used_in": [], |
| 497 | }, |
| 498 | "remotejdk17_macos": { |
| 499 | "aliases": [ |
| 500 | "remotejdk17_macos_for_testing", |
| 501 | "openjdk17_darwin_archive", |
| 502 | ], |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 503 | "sha256": "89d04b2d99b05dcb25114178e65f6a1c5ca742e125cab0a63d87e7e42f3fcb80", |
| 504 | "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_x64", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 505 | "urls": [ |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 506 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz", |
| 507 | "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 508 | ], |
| 509 | "used_in": [], |
| 510 | }, |
| 511 | "remotejdk17_macos_aarch64": { |
| 512 | "aliases": [ |
| 513 | "remotejdk17_macos_aarch64_for_testing", |
| 514 | "openjdk17_darwin_aarch64_archive", |
| 515 | ], |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 516 | "sha256": "54247dde248ffbcd3c048675504b1c503b81daf2dc0d64a79e353c48d383c977", |
| 517 | "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_aarch64", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 518 | "urls": [ |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 519 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz", |
| 520 | "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 521 | ], |
| 522 | "used_in": [], |
| 523 | }, |
| 524 | "remotejdk17_win": { |
| 525 | "aliases": [ |
| 526 | "remotejdk17_win_for_testing", |
| 527 | "openjdk17_windows_archive", |
| 528 | ], |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 529 | "sha256": "e965aa0ea7a0661a3446cf8f10ee00684b851f883b803315289f26b4aa907fdb", |
| 530 | "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-win_x64", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 531 | "urls": [ |
David Ostrovsky | fbb0958 | 2022-02-08 08:00:11 -0800 | [diff] [blame] | 532 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip", |
| 533 | "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip", |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 534 | ], |
| 535 | "used_in": [], |
| 536 | }, |
Liam Miller-Cushon | a7f1c71 | 2022-03-29 11:57:55 -0700 | [diff] [blame] | 537 | "remotejdk18_linux": { |
| 538 | "aliases": [ |
| 539 | "remotejdk18_linux_for_testing", |
| 540 | "openjdk18_linux_archive", |
| 541 | ], |
| 542 | "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", |
| 543 | "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", |
| 544 | "urls": [ |
| 545 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", |
| 546 | "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", |
| 547 | ], |
| 548 | "used_in": [], |
| 549 | }, |
| 550 | "remotejdk18_macos": { |
| 551 | "aliases": [ |
| 552 | "remotejdk18_macos_for_testing", |
| 553 | "openjdk18_darwin_archive", |
| 554 | ], |
| 555 | "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", |
| 556 | "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", |
| 557 | "urls": [ |
| 558 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", |
| 559 | "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", |
| 560 | ], |
| 561 | "used_in": [], |
| 562 | }, |
| 563 | "remotejdk18_macos_aarch64": { |
| 564 | "aliases": [ |
| 565 | "remotejdk18_macos_aarch64_for_testing", |
| 566 | "openjdk18_darwin_aarch64_archive", |
| 567 | ], |
| 568 | "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", |
| 569 | "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", |
| 570 | "urls": [ |
| 571 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", |
| 572 | "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", |
| 573 | ], |
| 574 | "used_in": [], |
| 575 | }, |
| 576 | "remotejdk18_win": { |
| 577 | "aliases": [ |
| 578 | "remotejdk18_win_for_testing", |
| 579 | "openjdk18_windows_archive", |
| 580 | ], |
| 581 | "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", |
| 582 | "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", |
| 583 | "urls": [ |
| 584 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", |
| 585 | "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", |
| 586 | ], |
| 587 | "used_in": [], |
| 588 | }, |
| 589 | "remotejdk18_win_arm64": { |
| 590 | "aliases": [ |
| 591 | "remotejdk18_win_arm64_for_testing", |
| 592 | "openjdk18_windows_arm64_archive", |
| 593 | ], |
| 594 | "archive": "zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", |
| 595 | "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", |
| 596 | "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", |
| 597 | "urls": [ |
| 598 | "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", |
| 599 | "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", |
| 600 | ], |
| 601 | "used_in": ["test_WORKSPACE_files"], |
| 602 | }, |
Tony Aiuto | 337e717 | 2020-12-09 10:20:14 -0800 | [diff] [blame] | 603 | } |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 604 | |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 605 | # Add aliased names |
| 606 | DEPS_BY_NAME = {} |
| 607 | |
| 608 | def _create_index(): |
| 609 | for repo_name in DIST_DEPS: |
| 610 | repo = DIST_DEPS[repo_name] |
| 611 | DEPS_BY_NAME[repo_name] = repo |
| 612 | aliases = repo.get("aliases") |
| 613 | if aliases: |
| 614 | for alias in aliases: |
| 615 | DEPS_BY_NAME[alias] = repo |
| 616 | |
| 617 | _create_index() |
| 618 | |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 619 | def _gen_workspace_stanza_impl(ctx): |
| 620 | if ctx.attr.template and (ctx.attr.preamble or ctx.attr.postamble): |
| 621 | fail("Can not use template with either preamble or postamble") |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 622 | if ctx.attr.use_maybe and ctx.attr.repo_clause: |
| 623 | fail("Can not use use_maybe with repo_clause") |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 624 | |
Tony Aiuto | b15a8b4 | 2021-01-08 07:42:57 -0800 | [diff] [blame] | 625 | if ctx.attr.use_maybe: |
| 626 | repo_clause = """ |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 627 | maybe( |
| 628 | http_archive, |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 629 | name = "{repo}", |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 630 | sha256 = "{sha256}", |
| 631 | strip_prefix = {strip_prefix}, |
| 632 | urls = {urls}, |
| 633 | ) |
| 634 | """ |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 635 | elif ctx.attr.repo_clause: |
| 636 | repo_clause = ctx.attr.repo_clause |
Tony Aiuto | b15a8b4 | 2021-01-08 07:42:57 -0800 | [diff] [blame] | 637 | else: |
| 638 | repo_clause = """ |
| 639 | http_archive( |
| 640 | name = "{repo}", |
| 641 | sha256 = "{sha256}", |
| 642 | strip_prefix = {strip_prefix}, |
| 643 | urls = {urls}, |
| 644 | ) |
| 645 | """ |
| 646 | |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 647 | repo_stanzas = {} |
| 648 | for repo in ctx.attr.repos: |
Tony Aiuto | 6a3d5f1 | 2021-01-12 13:38:32 -0800 | [diff] [blame] | 649 | info = DEPS_BY_NAME[repo] |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 650 | strip_prefix = info.get("strip_prefix") |
| 651 | if strip_prefix: |
| 652 | strip_prefix = "\"%s\"" % strip_prefix |
| 653 | else: |
| 654 | strip_prefix = "None" |
| 655 | |
| 656 | repo_stanzas["{%s}" % repo] = repo_clause.format( |
| 657 | repo = repo, |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 658 | sha256 = str(info["sha256"]), |
| 659 | strip_prefix = strip_prefix, |
| 660 | urls = info["urls"], |
| 661 | ) |
| 662 | |
| 663 | if ctx.attr.template: |
| 664 | ctx.actions.expand_template( |
| 665 | output = ctx.outputs.out, |
| 666 | template = ctx.file.template, |
| 667 | substitutions = repo_stanzas, |
| 668 | ) |
| 669 | else: |
| 670 | content = "\n".join([p.strip() for p in ctx.attr.preamble.strip().split("\n")]) |
| 671 | content += "\n" |
| 672 | content += "".join(repo_stanzas.values()) |
| 673 | content += "\n" |
| 674 | content += "\n".join([p.strip() for p in ctx.attr.postamble.strip().split("\n")]) |
| 675 | content += "\n" |
| 676 | ctx.actions.write(ctx.outputs.out, content) |
| 677 | |
| 678 | return [DefaultInfo(files = depset([ctx.outputs.out]))] |
| 679 | |
| 680 | gen_workspace_stanza = rule( |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 681 | attrs = { |
twerth | 69a0d1a | 2021-08-12 07:03:10 -0700 | [diff] [blame] | 682 | "repos": attr.string_list(doc = "Set of repos to include."), |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 683 | "out": attr.output(mandatory = True), |
| 684 | "preamble": attr.string(doc = "Preamble."), |
twerth | 69a0d1a | 2021-08-12 07:03:10 -0700 | [diff] [blame] | 685 | "postamble": attr.string(doc = "Set of rules to follow repos."), |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 686 | "template": attr.label( |
twerth | 69a0d1a | 2021-08-12 07:03:10 -0700 | [diff] [blame] | 687 | doc = "Template WORKSPACE file. May not be used with preamble or postamble." + |
| 688 | "Repo stanzas can be included using the syntax '{repo name}'.", |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 689 | allow_single_file = True, |
| 690 | mandatory = False, |
| 691 | ), |
twerth | 69a0d1a | 2021-08-12 07:03:10 -0700 | [diff] [blame] | 692 | "use_maybe": attr.bool(doc = "Use maybe() invocation instead of http_archive."), |
Ivo List | b741116 | 2022-01-14 09:53:01 -0800 | [diff] [blame] | 693 | "repo_clause": attr.string(doc = "Use a custom clause for each repository."), |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 694 | }, |
John Cater | 2cff2ac | 2021-02-26 07:38:37 -0800 | [diff] [blame] | 695 | doc = "Use specifications from DIST_DEPS to generate WORKSPACE http_archive stanzas or to" + |
| 696 | "drop them into a template.", |
| 697 | implementation = _gen_workspace_stanza_impl, |
Tony Aiuto | 3b2d310 | 2021-01-07 03:40:14 -0800 | [diff] [blame] | 698 | ) |