Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2018 13:33:11 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483575 - in head/devel/bazel: . files
Message-ID:  <201810311333.w9VDXBsK001507@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Oct 31 13:33:11 2018
New Revision: 483575
URL: https://svnweb.freebsd.org/changeset/ports/483575

Log:
  devel/bazel update to 0.19.0
  
  PR:		232797
  Submitted by:	Klaus Aehlig <aehlig@linta.de> (maintainer)

Added:
  head/devel/bazel/files/patch-tools__jdk__default_java_toolchain.bzl   (contents, props changed)
Modified:
  head/devel/bazel/Makefile   (contents, props changed)
  head/devel/bazel/distinfo   (contents, props changed)

Modified: head/devel/bazel/Makefile
==============================================================================
--- head/devel/bazel/Makefile	Wed Oct 31 13:21:02 2018	(r483574)
+++ head/devel/bazel/Makefile	Wed Oct 31 13:33:11 2018	(r483575)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=		bazel
-DISTVERSION=		0.18.0
+DISTVERSION=		0.19.0
 CATEGORIES=		devel java
 MASTER_SITES=		https://storage.googleapis.com/bazel/${PORTVERSION}/rc${FINALRC}/
 DISTNAME=		bazel-${PORTVERSION}rc${FINALRC}-dist

Modified: head/devel/bazel/distinfo
==============================================================================
--- head/devel/bazel/distinfo	Wed Oct 31 13:21:02 2018	(r483574)
+++ head/devel/bazel/distinfo	Wed Oct 31 13:33:11 2018	(r483575)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1538849840
-SHA256 (bazel-0.18.0rc9-dist.zip) = ba019d36c19c95c031bd6df3f2d49b63d38227c8c61d32b739239a9850ba6d65
-SIZE (bazel-0.18.0rc9-dist.zip) = 86885181
+TIMESTAMP = 1540850893
+SHA256 (bazel-0.19.0rc9-dist.zip) = 312af013a796510bf68644b69b460dde593cfaa1be4de81640f79f977ca80b69
+SIZE (bazel-0.19.0rc9-dist.zip) = 87331141

Added: head/devel/bazel/files/patch-tools__jdk__default_java_toolchain.bzl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/bazel/files/patch-tools__jdk__default_java_toolchain.bzl	Wed Oct 31 13:33:11 2018	(r483575)
@@ -0,0 +1,42 @@
+--- 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 @@
+ ]
+ 
+ JDK9_JVM_OPTS = [
+-    # In JDK9 we have seen a ~30% slow down in JavaBuilder performance when using
+-    # G1 collector and having compact strings enabled.
+-    "-XX:+UseParallelOldGC",
+-    "-XX:-CompactStrings",
+-    # Allow JavaBuilder to access internal javac APIs.
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED",
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED",
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED",
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
+-    "--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
+-    "--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)",
+-
+-    # 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",
+     ],
+     "javac_supports_workers": 1,
+-    "jvm_opts": JDK9_JVM_OPTS,
++    "jvm_opts": JDK8_JVM_OPTS,
+     "misc": DEFAULT_JAVACOPTS,
+     "compatible_javacopts": COMPATIBLE_JAVACOPTS,
+     "singlejar": ["@bazel_tools//tools/jdk:singlejar"],



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810311333.w9VDXBsK001507>