devel/bazel: update to 0.24.0

PR:		236813
Submitted by:	Klaus Aehlig <aehlig@linta.de> (maintainer)
This commit is contained in:
Steve Wills 2019-04-12 15:40:23 +00:00
parent ea2ff3e90e
commit 9cdd2d5cda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498725
3 changed files with 12 additions and 13 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bazel
DISTVERSION= 0.23.0
DISTVERSION= 0.24.0
CATEGORIES= devel java
MASTER_SITES= https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
DISTNAME= bazel-${PORTVERSION}rc${FINALRC}-dist
@ -24,7 +24,7 @@ BUILD_DEPENDS= bash:shells/bash \
# In bazel, a release is always code-wise identical to the final release candidate.
# Hence we can also download that one and so have a simple way to also test earlier release
# candidates.
FINALRC= 3
FINALRC= 9
USES= shebangfix zip:infozip python
SHEBANG_REGEX= .*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1551078041
SHA256 (bazel-0.23.0rc3-dist.zip) = c361c7950ac0f5467f7d34f867758521b02aab794ae063976ba74151dd2120a8
SIZE (bazel-0.23.0rc3-dist.zip) = 123718901
TIMESTAMP = 1553283833
SHA256 (bazel-0.24.0rc9-dist.zip) = 6bbef5fcb37a0bc8ed52b5514ff3f4b4e49b7a5e4f2c02d025e5c9e47cbc8ece
SIZE (bazel-0.24.0rc9-dist.zip) = 174689646

View file

@ -1,6 +1,6 @@
--- tools/jdk/default_java_toolchain.bzl.orig 1980-01-01 00:00:00.000000000 +0100
+++ tools/jdk/default_java_toolchain.bzl 2018-10-30 00:09:06.904725000 +0100
@@ -19,29 +19,7 @@
--- tools/jdk/default_java_toolchain.bzl.orig 1980-01-01 00:00:00.000000000 +0000
+++ tools/jdk/default_java_toolchain.bzl 2019-03-04 15:02:00.395888000 +0000
@@ -19,29 +19,6 @@
]
JDK9_JVM_OPTS = [
@ -19,20 +19,19 @@
- "--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
-
- # override the javac in the JDK.
- "--patch-module=java.compiler=$(location @bazel_tools//third_party/java/jdk/langtools:java_compiler_jar)",
- "--patch-module=jdk.compiler=$(location @bazel_tools//third_party/java/jdk/langtools:jdk_compiler_jar)",
- "--patch-module=java.compiler=$(location @bazel_tools//tools/jdk:java_compiler_jar)",
- "--patch-module=jdk.compiler=$(location @bazel_tools//tools/jdk:jdk_compiler_jar)",
-
- # quiet warnings from com.google.protobuf.UnsafeUtil,
- # see: https://github.com/google/protobuf/issues/3781
- # and: https://github.com/bazelbuild/bazel/issues/5599
- "--add-opens=java.base/java.nio=ALL-UNNAMED",
- "--add-opens=java.base/java.lang=ALL-UNNAMED",
+ "-Xbootclasspath/p:$(location @bazel_tools//third_party/java/jdk/langtools:javac_jar)",
]
DEFAULT_JAVACOPTS = [
@@ -74,7 +52,7 @@
"@bazel_tools//third_party/java/jdk/langtools:jdk_compiler_jar",
@@ -74,7 +51,7 @@
"@bazel_tools//tools/jdk:jdk_compiler_jar",
],
"javac_supports_workers": 1,
- "jvm_opts": JDK9_JVM_OPTS,