From fa7e49fb72a7f4c2f25107c6fb9550244ff54ac1 Mon Sep 17 00:00:00 2001 From: Arielle Albon Date: Tue, 31 Jul 2018 00:57:54 -0700 Subject: 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 --- WORKSPACE | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'WORKSPACE') 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 = [ -- cgit v1.2.3