Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669950 - =dev-util/bazel-0.19.0 version bump
Summary: =dev-util/bazel-0.19.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 10:01 UTC by Manuel Rüger (RETIRED)
Modified: 2018-11-17 17:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2018-10-30 10:01:11 UTC
Please drop the zsh-completion useflag and always install the completion (similar to bash-completion and vim-syntax files).


Release 0.19.0 (2018-10-29)

Baseline: ac88041

Cherry picks:

    9bc3b20:
    Fix the "nojava" platform and enable full presubmit checks for
    the various JDK platforms now that we have enough GCE resources.
    54c2572:
    Add openjdk_linux_archive java_toolchain for nojava platform.
    20bfdc6:
    Automated rollback of commit
    19a401c.
    914b4ce:
    Windows: Fix Precondition check for addDynamicInputLinkOptions
    83d406b:
    Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
    it exists.
    e025726:
    Update turbine
    5f312dd:
    Fix event id for action_completed BEP events

The Bazel team is happy to announce a new version of Bazel, Bazel 0.19.

This document lists the major changes since Bazel 0.18.
General changes

    The --incompatible_expand_directories flag automatically expands directories in command lines. See the design document.

    The --loading_phase_threads flag now defaults to auto instead of 200, which at the moment corresponds to the number of CPUs. This is appropriate for most users. However, if your sources reside on a network file system, increasing this value may yield better analysis-time performance when disk caches are cold.

Android

    Fixed missing debug symbols when building native code with --compilation_mode=dbg that target Android ARM architectures by adding the -g flag.

C++

    Added --incompatible_disable_legacy_flags_cc_toolchain_api to deprecate legacy cc_toolchain Starlark API for legacy CROSSTOOL fields. Tracking issue is #6434. See the instructions for migration.

    Runfiles in cc_test: the C++ runfiles library (@bazel_tools//tools/cpp/runfiles) can now create Runfiles objects for tests. See //tools/cpp/runfiles/runfiles_src.h in the Bazel source tree for documentation.

    :cc_binary link action no longer hardcodes -static-libgcc for toolchains that support embedded runtimes (guarded by --experimental_dont_emit_static_libgcc temporarily).

    The flag --experimental_enable_cc_configuration_make_variables is removed, use --incompatible_disable_cc_configuration_make_variables instead.

Java

    Bazel now requires a JDK to be installed as it no longer falls back to the internal JDK if the --javabase flag is not set. Instead, Bazel now searches for a JDK within the JAVA_HOME and PATH environment variables. If Bazel cannot find a JDK, it will not be able to run Java builds.

Code Coverage

    LcovMerger was renamed to CoverageOutputGenerator. Please use

--coverage_report_generator=@bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:Main

instead of the previous

--coverage_report_generator=@bazel_tools//tools/test/LcovMerger/java/com/google/devtools/lcovmerger:Main

    You can now enable a new coverage method for C++ rules that use gcc with the --experimental_cc_coverage flag. The flag will use gcov instead of lcov to collect coverage information. This new implementation fixes
    some of the C++ coverage correctness issues ( respecting --instrumentation_filter and --instrument_test_targets flags ).
    There have been observed faster clean and incremental times when invoking bazel coverage ( small overhead compared to test runtimes instead of 2x test runtime ), but more measurements need to be done.

Other Changes

    Add --apple_compiler and --apple_grte_top options. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.

    There is now a same_pkg_direct_rdeps query function. See the query documentation for more details.

    Propagating remote errors to the user even if --verbose_failures=false is set.

    Add number of configured targets to analysis phase status output.

    Bazel will now check stderr instead of stdout to decide if it is outputting to a terminal. --isatty is deprecated, use --is_stderr_atty instead.

Future Changes

We will do incompatible changes in Bazel 0.20. We encourage you to migrate in advance (or report any migration difficulty) with the following flags:

    --incompatible_disable_late_bound_option_defaults
    --incompatible_disable_depset_in_cc_user_flags
    --incompatible_disable_cc_toolchain_label_from_crosstool_proto
    --incompatible_disable_cc_configuration_make_variables
    --incompatible_disable_legacy_cpp_toolchain_skylark_api
    incompatible_disable_legacy_flags_cc_toolchain_api
    --incompatible_remove_native_git_repository
    --incompatible_remove_native_http_archive
    --incompatible_disallow_conflicting_providers
    --incompatible_range_type

Thank you to our contributors!

This release contains contributions from many people at Google, as well as Andreas Herrmann, Andreas Hippler, Benjamin Peterson, David Ostrovsky, Ed Baunton, George Gensure, Igal Tabachnik, Jason Gavris, Loo Rong Jie, rmalik, and Yannic Bonenberger

Thank you to everyone who contributed to this release!

Notice: Bazel installers contain binaries licensed under the GPLv2 with
Classpath exception. Those installers should always be redistributed along with
the source code.

Some versions of Bazel contain a bundled version of OpenJDK. The license of the
bundled OpenJDK and other open-source components can be displayed by running
the command bazel license. The vendor and version information of the bundled
OpenJDK can be displayed by running the command bazel info java-runtime.
The binaries and source-code of the bundled OpenJDK can be
downloaded from our mirror server.

Security: All our binaries are signed with our
public key 48457EE0.
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2018-10-30 10:03:41 UTC
Also

DEPEND="app-arch/unzip app-arch/zip" looks kinda weird. Why are both needed?
Comment 2 Larry the Git Cow gentoo-dev 2018-11-17 17:32:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48acaad70cd384e76be3aeea79b5a11b4f762fe6

commit 48acaad70cd384e76be3aeea79b5a11b4f762fe6
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2018-11-16 08:17:01 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2018-11-17 17:31:19 +0000

    dev-util/bazel: bump to 0.19.0
    
    Closes: https://bugs.gentoo.org/669950
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-util/bazel/Manifest            |   1 +
 dev-util/bazel/bazel-0.19.0.ebuild | 125 +++++++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)