Add embedded jdk support for s390x
This patch follows a similar approach used in PR
https://github.com/bazelbuild/bazel/pull/11436 to add support
for embedding OpenJDK in bazel on s390x.
Similar to ppc, the openjdk used will be downloadded from adoptopenjdk website.
/cc @philwo
Closes #11965.
PiperOrigin-RevId: 327798995
diff --git a/src/BUILD b/src/BUILD
index 296cbf1..6627bd2 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -229,6 +229,9 @@
"//src/conditions:linux_ppc64le": [
"@openjdk_linux_ppc64le_vanilla//file",
],
+ "//src/conditions:linux_s390x": [
+ "@openjdk_linux_s390x_vanilla//file",
+ ],
"//conditions:default": [
"@openjdk_linux_vanilla//file",
],
@@ -769,6 +772,7 @@
"@remotejdk11_linux_aarch64_for_testing//:WORKSPACE",
"@remotejdk11_linux_for_testing//:WORKSPACE",
"@remotejdk11_linux_ppc64le_for_testing//:WORKSPACE",
+ "@remotejdk11_linux_s390x_for_testing//:WORKSPACE",
"@remotejdk11_macos_for_testing//:WORKSPACE",
"@remotejdk11_win_for_testing//:WORKSPACE",
"@remotejdk14_linux_for_testing//:WORKSPACE",