Commit Graph

2 Commits

Author SHA1 Message Date
Mihai Maruseac
278c78c449 Add license to the java toolchain BUILD file
PiperOrigin-RevId: 275463441
Change-Id: If68b6dcfd319dfcb228be3d167748b08b3e621aa
2019-10-18 07:06:47 -07:00
A. Unique TensorFlower
46c3cb0118 Override default java toolchain to remove -parameters flag.
For workaround https://github.com/bazelbuild/bazel/issues/8772 with Bazel >= 0.29.1
TensorFlow still targets Java 1.7 (See JAVACOPTS), which doesn't support
"-parameters" flag. Starting from Java 11 (default since Bazel 0.29.1), a warning
message will be thrown if "-parameters" is passed. If "-Werror" also exists,
the compiling action will fail. To workaround this, we override the misc value of
the default java toolchain to remove "-parameters" flag.

PiperOrigin-RevId: 275265568
Change-Id: I8899fa0bebe70a87fc0c6925bd8c3c6bab395761
2019-10-17 08:48:22 -07:00