aboutsummaryrefslogtreecommitdiffhomepage
path: root/WORKSPACE
diff options
context:
space:
mode:
authorGravatar Arielle Albon <arielle@hopeless-newbie.co.uk>2018-07-31 00:57:54 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-31 00:59:22 -0700
commitfa7e49fb72a7f4c2f25107c6fb9550244ff54ac1 (patch)
tree248655acc49716c4522e43eec64d5c63ca3f16b0 /WORKSPACE
parent15b27e46ad766e777fb898f39bff06efa9268c2a (diff)
Add aarch64 embedded JDK config, MacOS mock toolchain settings
Hi, This PR is for additional work to get the tests running correctly on Aarch64. One key issue was that the default embedded jvm used by default was X86_64 and does not work on other architectures. To support this I have added a new constraint, however I will refine this in case a version of Darwin becomes available on aarch64. I'll do the work to find a good arm32 toolchain in a future CL. I do not have access for ppc or z390 to repair those architectures. Either way, hope this is good for you. Closes #5525. PiperOrigin-RevId: 206717726
Diffstat (limited to 'WORKSPACE')
-rw-r--r--WORKSPACE11
1 files changed, 11 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE
index 9d6dc54da0..5ec64d17e6 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -139,6 +139,17 @@ http_file(
],
)
+# The source-code for this OpenJDK can be found at:
+# https://openjdk.linaro.org/releases/jdk9-src-1708.tar.xz
+http_file(
+ name = "openjdk_linux_aarch64",
+ sha256 = "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022",
+ urls = [
+ # When you update this, also update the link to the source-code above.
+ "http://openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz",
+ ],
+)
+
http_archive(
name = "bazel_toolchains",
urls = [