From ab4b2f59921de91ec62ddca44b41441608759984 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Fri, 27 Nov 2020 11:20:02 +0000 Subject: [PATCH] Java_tools benchmark #5 --- WORKSPACE | 66 +++++++++---------- .../build/lib/bazel/rules/java/jdk.WORKSPACE | 12 ++-- .../shell/bazel/testdata/jdk_http_archives | 12 ++-- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 1e7a505942e5ff..02a4a11fca2a5d 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -146,9 +146,9 @@ distdir_tar( # Keep in sync with the archives fetched as part of building bazel. archives = [ "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", - "java_tools_javac11_linux-v10.2.zip", - "java_tools_javac11_windows-v10.2.zip", - "java_tools_javac11_darwin-v10.2.zip", + "java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", + "java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", + "java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", "coverage_output_generator-v2.5.zip", # bazelbuid/stardoc "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", @@ -187,9 +187,9 @@ distdir_tar( dirname = "derived/distdir", sha256 = { "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", - "java_tools_javac11_linux-v10.2.zip": "55be249dfdaf09790004bb007f229437eb148a6633045dce1f6247dd04a92f6a", - "java_tools_javac11_windows-v10.2.zip": "007a376d7c58e73a8f91c5a7f74bf2e9d4bf2a530142bc74c8709a02f1f6cde3", - "java_tools_javac11_darwin-v10.2.zip": "03caa49238dd040d4bdae0a730d5c4027a3739aabf8f2c6840a160ea41890626", + "java_tools_javac11_linux-v10.3-rcbenchmark-5.zip": "1689acb537577a4ed34101677dbe16c21c73e0085c835c7f9a7bca22f164cb89", + "java_tools_javac11_windows-v10.3-rcbenchmark-5.zip": "3119848bf3da723f9e442fbd102a6a2fc3c87b04c6c278d6fc073a701ad0e0d0", + "java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip": "2673ecf1ef5d31ad1074516475b5563d03c119236895b7697d5228544a979e09", "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", # bazelbuild/stardoc "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", @@ -230,14 +230,14 @@ distdir_tar( "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", ], - "java_tools_javac11_linux-v10.2.zip": [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_linux-v10.2.zip", + "java_tools_javac11_linux-v10.3-rcbenchmark-5.zip": [ + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", ], - "java_tools_javac11_windows-v10.2.zip": [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_windows-v10.2.zip", + "java_tools_javac11_windows-v10.3-rcbenchmark-5.zip": [ + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", ], - "java_tools_javac11_darwin-v10.2.zip": [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_darwin-v10.2.zip", + "java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip": [ + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", ], "coverage_output_generator-v2.5.zip": [ "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip", @@ -547,9 +547,9 @@ http_archive( distdir_tar( name = "test_WORKSPACE_files", archives = [ - "java_tools_javac11_linux-v10.2.zip", - "java_tools_javac11_windows-v10.2.zip", - "java_tools_javac11_darwin-v10.2.zip", + "java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", + "java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", + "java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", "coverage_output_generator-v2.5.zip", "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz", "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz", @@ -581,9 +581,9 @@ distdir_tar( ], dirname = "test_WORKSPACE/distdir", sha256 = { - "java_tools_javac11_linux-v10.2.zip": "55be249dfdaf09790004bb007f229437eb148a6633045dce1f6247dd04a92f6a", - "java_tools_javac11_windows-v10.2.zip": "007a376d7c58e73a8f91c5a7f74bf2e9d4bf2a530142bc74c8709a02f1f6cde3", - "java_tools_javac11_darwin-v10.2.zip": "03caa49238dd040d4bdae0a730d5c4027a3739aabf8f2c6840a160ea41890626", + "java_tools_javac11_linux-v10.3-rcbenchmark-5.zip": "1689acb537577a4ed34101677dbe16c21c73e0085c835c7f9a7bca22f164cb89", + "java_tools_javac11_windows-v10.3-rcbenchmark-5.zip": "3119848bf3da723f9e442fbd102a6a2fc3c87b04c6c278d6fc073a701ad0e0d0", + "java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip": "2673ecf1ef5d31ad1074516475b5563d03c119236895b7697d5228544a979e09", "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", @@ -614,9 +614,9 @@ distdir_tar( "df3ea785d8c30a9503321a3d35ee7d35808f190d.tar.gz": "f368a8476f4e2e0eccf8a7318b98dafbe30b2600f4e3cf52636e5eb145aba06a", }, urls = { - "java_tools_javac11_linux-v10.2.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_linux-v10.2.zip"], - "java_tools_javac11_windows-v10.2.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_windows-v10.2.zip"], - "java_tools_javac11_darwin-v10.2.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_darwin-v10.2.zip"], + "java_tools_javac11_linux-v10.3-rcbenchmark-5.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_linux-v10.3-rcbenchmark-5.zip"], + "java_tools_javac11_windows-v10.3-rcbenchmark-5.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_windows-v10.3-rcbenchmark-5.zip"], + "java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip": ["https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip"], "coverage_output_generator-v2.5.zip": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip"], "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz"], @@ -921,9 +921,9 @@ http_archive( name = "remote_java_tools_linux_for_testing", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "55be249dfdaf09790004bb007f229437eb148a6633045dce1f6247dd04a92f6a", + sha256 = "1689acb537577a4ed34101677dbe16c21c73e0085c835c7f9a7bca22f164cb89", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_linux-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.2/java_tools_javac11_linux-v10.2.zip", ], ) @@ -933,9 +933,9 @@ http_archive( name = "remote_java_tools_windows_for_testing", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "007a376d7c58e73a8f91c5a7f74bf2e9d4bf2a530142bc74c8709a02f1f6cde3", + sha256 = "3119848bf3da723f9e442fbd102a6a2fc3c87b04c6c278d6fc073a701ad0e0d0", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_windows-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.2/java_tools_javac11_windows-v10.2.zip", ], ) @@ -945,9 +945,9 @@ http_archive( name = "remote_java_tools_darwin_for_testing", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "03caa49238dd040d4bdae0a730d5c4027a3739aabf8f2c6840a160ea41890626", + sha256 = "2673ecf1ef5d31ad1074516475b5563d03c119236895b7697d5228544a979e09", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_darwin-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.2/java_tools_javac11_darwin-v10.2.zip", ], ) @@ -957,9 +957,9 @@ http_archive( name = "remote_java_tools_javac11_test_linux", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "55be249dfdaf09790004bb007f229437eb148a6633045dce1f6247dd04a92f6a", + sha256 = "1689acb537577a4ed34101677dbe16c21c73e0085c835c7f9a7bca22f164cb89", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_linux-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", ], ) @@ -968,9 +968,9 @@ http_archive( name = "remote_java_tools_javac11_test_windows", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "007a376d7c58e73a8f91c5a7f74bf2e9d4bf2a530142bc74c8709a02f1f6cde3", + sha256 = "3119848bf3da723f9e442fbd102a6a2fc3c87b04c6c278d6fc073a701ad0e0d0", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_windows-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", ], ) @@ -979,9 +979,9 @@ http_archive( name = "remote_java_tools_javac11_test_darwin", patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, - sha256 = "03caa49238dd040d4bdae0a730d5c4027a3739aabf8f2c6840a160ea41890626", + sha256 = "2673ecf1ef5d31ad1074516475b5563d03c119236895b7697d5228544a979e09", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_darwin-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", ], ) diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE index b0fbaf55487663..571d3459de4997 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE @@ -163,9 +163,9 @@ maybe( maybe( http_archive, name = "remote_java_tools_linux", - sha256 = "55be249dfdaf09790004bb007f229437eb148a6633045dce1f6247dd04a92f6a", + sha256 = "1689acb537577a4ed34101677dbe16c21c73e0085c835c7f9a7bca22f164cb89", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_linux-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.2/java_tools_javac11_linux-v10.2.zip", ], ) @@ -174,9 +174,9 @@ maybe( maybe( http_archive, name = "remote_java_tools_windows", - sha256 = "007a376d7c58e73a8f91c5a7f74bf2e9d4bf2a530142bc74c8709a02f1f6cde3", + sha256 = "3119848bf3da723f9e442fbd102a6a2fc3c87b04c6c278d6fc073a701ad0e0d0", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_windows-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.2/java_tools_javac11_windows-v10.2.zip", ], ) @@ -185,9 +185,9 @@ maybe( maybe( http_archive, name = "remote_java_tools_darwin", - sha256 = "03caa49238dd040d4bdae0a730d5c4027a3739aabf8f2c6840a160ea41890626", + sha256 = "2673ecf1ef5d31ad1074516475b5563d03c119236895b7697d5228544a979e09", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_darwin-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.2/java_tools_javac11_darwin-v10.2.zip", ], ) diff --git a/src/test/shell/bazel/testdata/jdk_http_archives b/src/test/shell/bazel/testdata/jdk_http_archives index 251c6f11b0944c..15d14cf7d14fe6 100644 --- a/src/test/shell/bazel/testdata/jdk_http_archives +++ b/src/test/shell/bazel/testdata/jdk_http_archives @@ -2,25 +2,25 @@ # This must be kept in sync with the top-level WORKSPACE file. http_archive( name = "remote_java_tools_javac11_test_linux", - sha256 = "55be249dfdaf09790004bb007f229437eb148a6633045dce1f6247dd04a92f6a", + sha256 = "1689acb537577a4ed34101677dbe16c21c73e0085c835c7f9a7bca22f164cb89", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_linux-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_linux-v10.3-rcbenchmark-5.zip", ], ) # This must be kept in sync with the top-level WORKSPACE file. http_archive( name = "remote_java_tools_javac11_test_windows", - sha256 = "007a376d7c58e73a8f91c5a7f74bf2e9d4bf2a530142bc74c8709a02f1f6cde3", + sha256 = "3119848bf3da723f9e442fbd102a6a2fc3c87b04c6c278d6fc073a701ad0e0d0", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_windows-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_windows-v10.3-rcbenchmark-5.zip", ], ) # This must be kept in sync with the top-level WORKSPACE file. http_archive( name = "remote_java_tools_javac11_test_darwin", - sha256 = "03caa49238dd040d4bdae0a730d5c4027a3739aabf8f2c6840a160ea41890626", + sha256 = "2673ecf1ef5d31ad1074516475b5563d03c119236895b7697d5228544a979e09", urls = [ - "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.2/java_tools_javac11_darwin-v10.2.zip", + "https://mirror.bazel.build/bazel_java_tools/release_candidates/javac11/v10.3/java_tools_javac11_darwin-v10.3-rcbenchmark-5.zip", ], )