Skip to content

Commit

Permalink
Update JDK versions
Browse files Browse the repository at this point in the history
* AdoptOpenJDK has moved to the Eclipse foundation and rebranded as Adoptium ([context](https://blog.adoptopenjdk.net/2021/03/transition-to-eclipse-an-update/)), so use Adoptium for `ppc64le` and `s390x`
* I am working on a script to use the Adoptium and Azul APIs for fetch the latest versions for the supported platforms (https://api.adoptium.net/q/swagger-ui/, https://app.swaggerhub.com/apis-docs/azul/zulu-download-community/1.0), and the buildozer API to update `distdir_deps.bzl`, which should make it easier to update these going forward especially now that the information is consolidated in `distdir_deps.bzl`.

Closes bazelbuild#14585.

PiperOrigin-RevId: 424137330
  • Loading branch information
cushon authored and copybara-github committed Jan 25, 2022
1 parent a6c3f23 commit 7de1571
Showing 1 changed file with 55 additions and 45 deletions.
100 changes: 55 additions & 45 deletions distdir_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -351,45 +351,49 @@ DIST_DEPS = {
"remotejdk11_linux_for_testing",
"openjdk11_linux_archive",
],
"archive": "zulu11.50.19-ca-jdk11.0.12-linux_x64.tar.gz",
"sha256": "b8e8a63b79bc312aa90f3558edbea59e71495ef1a9c340e38900dd28a1c579f3",
"strip_prefix": "zulu11.50.19-ca-jdk11.0.12-linux_x64",
"archive": "zulu11.52.13-ca-jdk11.0.13-linux_x64.tar.gz",
"sha256": "77a126669b26b3a89e0117b0f28cddfcd24fcd7699b2c1d35f921487148b9a9f",
"strip_prefix": "zulu11.52.13-ca-jdk11.0.13-linux_x64",
"urls": [
"https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-linux_x64.tar.gz",
"https://mirror.bazel.build/zulu/bin/zulu11.52.13-ca-jdk11.0.13-linux_x64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-linux_x64.tar.gz",
],
"used_in": ["test_WORKSPACE_files"],
},
"remotejdk11_linux_aarch64": {
"aliases": [
"remotejdk11_linux_aarch64_for_testing",
],
"archive": "zulu11.50.19-ca-jdk11.0.12-linux_aarch64.tar.gz",
"sha256": "61254688067454d3ccf0ef25993b5dcab7b56c8129e53b73566c28a8dd4d48fb",
"strip_prefix": "zulu11.50.19-ca-jdk11.0.12-linux_aarch64",
"urls": ["https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-linux_aarch64.tar.gz"],
"archive": "zulu11.52.13-ca-jdk11.0.13-linux_aarch64.tar.gz",
"sha256": "6be187379c26506a4b804b4f734c17e554aebe4204bde58a10b429054cc9cf9f",
"strip_prefix": "zulu11.52.13-ca-jdk11.0.13-linux_aarch64",
"urls": [
"https://mirror.bazel.build/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch64.tar.gz",
"https://cdn.azul.com/zulu-embedded/bin/zulu11.52.13-ca-jdk11.0.13-linux_aarch64.tar.gz",
],
"used_in": ["test_WORKSPACE_files"],
},
"remotejdk11_linux_ppc64le": {
"aliases": [
"remotejdk11_linux_ppc64le_for_testing",
],
"sha256": "a417db0295b1f4b538ecbaf7c774f3a177fab9657a665940170936c0eca4e71a",
"strip_prefix": "jdk-11.0.7+10",
"sha256": "82f14cda71cff99c878bf8400598a87235adb6c81b0337f7077c27e5cac1190c",
"strip_prefix": "jdk-11.0.13+8",
"urls": [
"https://mirror.bazel.build/openjdk/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz",
"https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz",
"https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13+8/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.13_8.tar.gz",
"https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13+8/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.13_8.tar.gz",
],
"used_in": [],
},
"remotejdk11_linux_s390x": {
"aliases": [
"remotejdk11_linux_s390x_for_testing",
],
"sha256": "d9b72e87a1d3ebc0c9552f72ae5eb150fffc0298a7cb841f1ce7bfc70dcd1059",
"strip_prefix": "jdk-11.0.7+10",
"sha256": "9d280d86fdf6a7d9e5cbf54dc37f1d6d09dfe676ff5c684802fdfa3932eee63e",
"strip_prefix": "jdk-11.0.13+8",
"urls": [
"https://mirror.bazel.build/github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz",
"https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz",
"https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13+8/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.13_8.tar.gz",
"https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.13+8/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.13_8.tar.gz",
],
"used_in": [],
},
Expand All @@ -398,23 +402,26 @@ DIST_DEPS = {
"remotejdk11_macos_for_testing",
"openjdk11_darwin_archive",
],
"archive": "zulu11.50.19-ca-jdk11.0.12-macosx_x64.tar.gz",
"sha256": "0b8c8b7cf89c7c55b7e2239b47201d704e8d2170884875b00f3103cf0662d6d7",
"strip_prefix": "zulu11.50.19-ca-jdk11.0.12-macosx_x64",
"urls": ["https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-macosx_x64.tar.gz"],
"archive": "zulu11.52.13-ca-jdk11.0.13-macosx_x64.tar.gz",
"sha256": "e27a11a6e970ba6f597ecc957c0cdb502ff8990c243a6abd9df1e3413a0a3e44",
"strip_prefix": "zulu11.52.13-ca-jdk11.0.13-macosx_x64",
"urls": [
"https://mirror.bazel.build/zulu/bin/zulu11.52.13-ca-jdk11.0.13-macosx_x64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-macosx_x64.tar.gz",
],
"used_in": ["test_WORKSPACE_files"],
},
"remotejdk11_macos_aarch64": {
"aliases": [
"remotejdk11_macos_aarch64_for_testing",
"openjdk11_darwin_aarch64_archive",
],
"archive": "zulu11.50.19-ca-jdk11.0.12-macosx_aarch64.tar.gz",
"sha256": "e908a0b4c0da08d41c3e19230f819b364ff2e5f1dafd62d2cf991a85a34d3a17",
"strip_prefix": "zulu11.50.19-ca-jdk11.0.12-macosx_aarch64",
"archive": "zulu11.52.13-ca-jdk11.0.13-macosx_aarch64.tar.gz",
"sha256": "eb8d593a61a9461a554e7bb1d67bca0f94242273f1d01a13f58c20c269b35fe5",
"strip_prefix": "zulu11.52.13-ca-jdk11.0.13-macosx_aarch64",
"urls": [
"https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-macosx_aarch64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu11.50.19-ca-jdk11.0.12-macosx_aarch64.tar.gz",
"https://mirror.bazel.build/zulu/bin/zulu11.52.13-ca-jdk11.0.13-macosx_aarch64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-macosx_aarch64.tar.gz",
],
"used_in": ["test_WORKSPACE_files"],
},
Expand All @@ -423,22 +430,25 @@ DIST_DEPS = {
"remotejdk11_win_for_testing",
"openjdk11_windows_archive",
],
"archive": "zulu11.50.19-ca-jdk11.0.12-win_x64.tar.gz",
"sha256": "42ae65e75d615a3f06a674978e1fa85fdf078cad94e553fee3e779b2b42bb015",
"strip_prefix": "zulu11.50.19-ca-jdk11.0.12-win_x64",
"urls": ["https://mirror.bazel.build/openjdk/azul-zulu11.50.19-ca-jdk11.0.12/zulu11.50.19-ca-jdk11.0.12-win_x64.zip"],
"archive": "zulu11.52.13-ca-jdk11.0.13-win_x64.zip",
"sha256": "49289cc181504a01c946d5a66a5c904f8e6d912a2226dd82db62eb37e6c0a9d9",
"strip_prefix": "zulu11.52.13-ca-jdk11.0.13-win_x64",
"urls": [
"https://mirror.bazel.build/zulu/bin/zulu11.52.13-ca-jdk11.0.13-win_x64.zip",
"https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-win_x64.zip",
],
"used_in": ["test_WORKSPACE_files"],
},
"remotejdk17_linux": {
"aliases": [
"remotejdk17_linux_for_testing",
"openjdk17_linux_archive",
],
"sha256": "37c4f8e48536cceae8c6c20250d6c385e176972532fd35759fa7d6015c965f56",
"strip_prefix": "zulu17.28.13-ca-jdk17.0.0-linux_x64",
"sha256": "9b8e4d1e47b02b9c2392462ee82988c189357471de3224c37173fa58e2b25112",
"strip_prefix": "zulu17.30.15-ca-jdk17.0.1-linux_x64",
"urls": [
"https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-linux_x64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-linux_x64.tar.gz",
"https://mirror.bazel.build/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_x64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-linux_x64.tar.gz",
],
"used_in": [],
},
Expand All @@ -447,11 +457,11 @@ DIST_DEPS = {
"remotejdk17_macos_for_testing",
"openjdk17_darwin_archive",
],
"sha256": "6029b1fe6853cecad22ab99ac0b3bb4fb8c903dd2edefa91c3abc89755bbd47d",
"strip_prefix": "zulu17.28.13-ca-jdk17.0.0-macosx_x64",
"sha256": "09d64fe576373b4314422811bc8402fbb7700176822b0e1e2bf2ff8a6cad10eb",
"strip_prefix": "zulu17.30.15-ca-jdk17.0.1-macosx_x64",
"urls": [
"https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-macosx_x64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-macosx_x64.tar.gz",
"https://mirror.bazel.build/zulu/bin/zulu17.30.15-ca-jdk17.0.1-macosx_x64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-macosx_x64.tar.gz",
],
"used_in": [],
},
Expand All @@ -460,11 +470,11 @@ DIST_DEPS = {
"remotejdk17_macos_aarch64_for_testing",
"openjdk17_darwin_aarch64_archive",
],
"sha256": "6b17f01f767ee7abf4704149ca4d86423aab9b16b68697b7d36e9b616846a8b0",
"strip_prefix": "zulu17.28.13-ca-jdk17.0.0-macosx_aarch64",
"sha256": "ce10425ce9cefdfb23ebeabebc0944cfb41531114a2d5bd89e3c19cc5cfa9913",
"strip_prefix": "zulu17.30.15-ca-jdk17.0.1-macosx_aarch64",
"urls": [
"https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-macosx_aarch64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-macosx_aarch64.tar.gz",
"https://mirror.bazel.build/zulu/bin/zulu17.30.15-ca-jdk17.0.1-macosx_aarch64.tar.gz",
"https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-macosx_aarch64.tar.gz",
],
"used_in": [],
},
Expand All @@ -473,11 +483,11 @@ DIST_DEPS = {
"remotejdk17_win_for_testing",
"openjdk17_windows_archive",
],
"sha256": "f4437011239f3f0031c794bb91c02a6350bc941d4196bdd19c9f157b491815a3",
"strip_prefix": "zulu17.28.13-ca-jdk17.0.0-win_x64",
"sha256": "ab7c10f1cb76d10b801a4a130fee874e8e30e597fecb0afa9e76800e7d34aee7",
"strip_prefix": "zulu17.30.15-ca-jdk17.0.1-win_x64",
"urls": [
"https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-win_x64.zip",
"https://cdn.azul.com/zulu/bin/zulu17.28.13-ca-jdk17.0.0-win_x64.zip",
"https://mirror.bazel.build/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_x64.zip",
"https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_x64.zip",
],
"used_in": [],
},
Expand Down

0 comments on commit 7de1571

Please sign in to comment.