SHA256
1
0
forked from pool/bazel
Commit Graph

50 Commits

Author SHA256 Message Date
Ana Guerrero
993d5595b5 Accepting request 1118058 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/1118058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=14
2023-10-16 21:01:33 +00:00
Martin Pluskal
5e2ec36e27 Accepting request 1118052 from home:fstrba:branches:devel:tools:building
Switch default bazel to 6.x, please accept and forward

OBS-URL: https://build.opensuse.org/request/show/1118052
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=49
2023-10-16 15:03:40 +00:00
Dominique Leuenberger
a670cbefb5 Accepting request 871374 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/871374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=13
2021-04-15 14:56:39 +00:00
Martin Pluskal
f784587c1a Accepting request 871234 from home:mrostecki:branches:devel:tools:building
- Switch bazel to default version 3.7

OBS-URL: https://build.opensuse.org/request/show/871234
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=47
2021-02-12 09:05:54 +00:00
Dominique Leuenberger
22e6c96b40 Accepting request 835786 from devel:tools:building
- Exclude arch %ix86 (forwarded request 835785 from mrostecki)

OBS-URL: https://build.opensuse.org/request/show/835786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=12
2020-09-29 16:59:57 +00:00
Michał Rostecki
3c65f8be03 Accepting request 835785 from home:mrostecki:branches:devel:tools:building
- Exclude arch %ix86

OBS-URL: https://build.opensuse.org/request/show/835785
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=45
2020-09-21 10:17:58 +00:00
Martin Pluskal
3752e6abb6 Accepting request 835195 from home:mrostecki:branches:devel:kubic
- Switch bazel to default version 3.4.

OBS-URL: https://build.opensuse.org/request/show/835195
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=44
2020-09-17 13:53:26 +00:00
Dominique Leuenberger
0992a413e2 Accepting request 796565 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/796565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=11
2020-04-23 16:40:13 +00:00
Michał Rostecki
47e030162e Accepting request 796556 from home:Guillaume_G:branches:devel:tools:building
- Remove useless tentative to disable armv7 build

OBS-URL: https://build.opensuse.org/request/show/796556
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=42
2020-04-23 14:02:20 +00:00
Dominique Leuenberger
4c6b209541 Accepting request 767998 from devel:tools:building
- Switch bazel to default version 2.0. (forwarded request 767997 from mrostecki)

OBS-URL: https://build.opensuse.org/request/show/767998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=10
2020-02-04 18:56:52 +00:00
Michał Rostecki
827ba4666f Accepting request 767997 from home:mrostecki:branches:devel:kubic
- Switch bazel to default version 2.0.

OBS-URL: https://build.opensuse.org/request/show/767997
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=40
2020-01-28 11:33:57 +00:00
Dominique Leuenberger
a65399cd78 Accepting request 758583 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/758583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=9
2020-01-20 21:50:56 +00:00
Michał Rostecki
eb82826ca4 Accepting request 757543 from home:mrostecki:branches:devel:kubic
- Switch bazel to default version 1.2.

OBS-URL: https://build.opensuse.org/request/show/757543
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=38
2019-12-20 16:55:39 +00:00
Dominique Leuenberger
29064896ff Accepting request 752929 from devel:tools:building
- Switch bazel to default version 0.29. (forwarded request 752927 from mrostecki)

OBS-URL: https://build.opensuse.org/request/show/752929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=8
2019-12-03 11:42:04 +00:00
Michał Rostecki
f4ea3af08e Accepting request 752927 from home:mrostecki:branches:devel:tools:building
- Switch bazel to default version 0.29.

OBS-URL: https://build.opensuse.org/request/show/752927
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=36
2019-12-02 12:39:02 +00:00
Michał Rostecki
815ec00c40 Accepting request 739879 from home:RBrownSUSE:branches:devel:tools:building
Remove obsolete Groups tag (fate#326485)

OBS-URL: https://build.opensuse.org/request/show/739879
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=35
2019-10-17 18:33:10 +00:00
Dominique Leuenberger
013a9e0be8 Accepting request 708252 from devel:tools:building
This is the attempt to make Bazel package a multiversion package.

Bazel releases new versions with backwards incompatible changes quite fast. That's really painful for Envoy and Tensorflow - main projects which are built by Bazel and we package in openSUSE. Some updates of Bazel break lots of packages.

In order to prevent that, I would like to provide multiple versions of Bazel in openSUSE. I'm going to submit few more Bazel versions (0.26.x, 0.24.x, 0.23.x etc.) and then make a request to the main Bazel package.

If this SR looks good to you, please accept it together with:
- bazel
- bazel0.24
- bazel0.25
- bazel0.26

OBS-URL: https://build.opensuse.org/request/show/708252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=7
2019-06-19 19:05:32 +00:00
Michał Rostecki
2c886896c8 Accepting request 708165 from home:mrostecki:branches:devel:tools:building
- Convert to a multiversion package. The real bazel binary is now
  shipped in packages like bazel0.26, bazel0.25 etc.

OBS-URL: https://build.opensuse.org/request/show/708165
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=33
2019-06-06 15:00:59 +00:00
Michał Rostecki
c2b4646dc7 Accepting request 701265 from home:mrostecki:branches:devel:kubic
- Update to version 0.25.0:
  * genrules now supports a $(RULEDIR) variable that resolves to
    the directory where the outputs of the rule are put.
  * Added --incompatible_windows_native_test_wrapper flag: enables
    using the Bash-less test wrapper on Windows. (No-op on other
    platforms.)
  * incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
    default --host_javabase for remote jdk
  * Makes genquery somepath output deterministic.
  * Tristate attributes of native rules now reject True/False (use
    1/0)
  * Rollback of "Tristate attributes of native rules now reject
    True/False (use 1/0)"
  * Tristate attributes of native rules now reject True/False (use
    1/0)
  * Added -incompatible_do_not_split_linking_cmdline flag.
  * A new flag --incompatible_string_join_requires_strings is
    introduced. The sequence argument of string.join must contain
    only string elements.
  * Don't drop the analysis cache when the same --define flag is set
    multiple times and the last value is the same (e.g. if the
    current invocation was run with "--define foo=bar" and the
    previous one was run with "--define foo=baz --define foo=bar").
  * Bazel is now ~20MiB smaller, from unbundling the Android rules'
    runtime dependencies.

OBS-URL: https://build.opensuse.org/request/show/701265
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=32
2019-05-07 09:57:17 +00:00
Dominique Leuenberger
3e06017daf Accepting request 693016 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/693016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=6
2019-04-11 10:18:04 +00:00
Michał Rostecki
048bfd395c Accepting request 692995 from home:elimat:branches:devel:tools:building
- Update to version 0.24.1 
  Cherrypicks:
  * Wrap StatusRuntimeExceptions from GrpcRemoteCache
- Changes in 0.24.0
  Incompatible changes:
  * Added --incompatible_py3_is_default to test switching the default
	Python version to PY3 for py_binary/py_test targets that do not
	specify a version.
  * //tools/cmd_line_differ has been renamed to //tools/aquery_differ
    & can now compare (in addition to command lines) inputs of
    actions given 2 aquery results.
  * java_(mutable_|)proto_library: removed strict_deps attribute.
  * The flag --incompatible_list_based_execution_strategy_selection
    was added and is used to ease the migration to the new style of
    specifying
    execution strategy selection and fallback behavior.
  * Added --incompatible_py2_outputs_are_suffixed, for switching the
    bazel-bin symlink to point to Python 3 outputs instead of Python
    2 outputs.
  New features:
  * Make actions.args() object chainable.
  * Added --incompatible_windows_style_arg_escaping flag: enables
    correct subprocess argument escaping on Windows. (No-op on other
    platforms.)
  * Added --incompatible_windows_escape_jvm_flags flag: enables
    correct java_binary.jvm_flags and java_test.jvm_flags
    tokenization and escaping on Windows. (No-op on other platforms.)
  Important changes:
  * Allow running aquery against the current state of Skyframe
  * Added support for the "navigation" resource directory to Android
    resource processing in Bazel. This is used by the Navigation
    Architecture Component.
  * --incompatible_disable_runtimes_filegroups was flipped
  * Incompatible flag --incompatible_linkopts_in_user_link_flags
	has been flipped
  * Incompatible flag --incompatible_dont_emit_static_libgcc has
    been flipped
  * --incompatible_disallow_filetype is enabled by default.
  * Fixed issue where exceptions and stacktraces were silently
    swallowed in the Android resource processing pipeline.
  * --incompatible_disable_expand_if_all_available_in_flag_set has
    been flipped
  * --incompatible_disallow_dict_plus is enabled by default
  * Adds --incompatible_disable_objc_library_resources to disable
    resource attributes in objc_library. Please migrate these
    attributes to data instead.
  * --incompatible_disallow_old_style_args_add is enabled by default.
  * Using the native module in BUILD files is deprecated. It will
    be forbidden with --incompatible_disallow_native_in_build_file.
  * (Python rules) PyRuntimeInfo is exposed to Starlark, making it
    possible for Starlark rules to depend on or imitate py_runtime.
    The files attribute of py_runtime is no longer mandatory.
  * incompatible_use_toolchain_providers_in_java_common: pass
    JavaToolchainInfo and JavaRuntimeInfo providers to java_common
    APIs instead of configured
    targets
  * is_using_fission crosstool variable is now exposed in all compile
    actions when fission is active (it used to be exposed only for
    linking actions).
  * incompatible_use_toolchain_providers_in_java_common: pass
    JavaToolchainInfo and JavaRuntimeInfo providers to java_common
    APIs instead of configured
    targets
  * py_runtime gains a python_version attribute for specifying
    whether it represents a Python 2 or 3 interpreter.
  * --incompatible_java_coverage is enabled by default.
  * Starlark rules can safely declare attributes named "licenses"
  * When using
    --incompatible_list_based_execution_strategy_selection, Bazel
    will use remote execution by default (if you specify
    --remote_executor), otherwise persistent workers (if the action
    supports it), otherwise sandboxed local execution (if the action
    and platform supports it) and at last unsandboxed local
    execution. The flags --spawn_strategy and --strategy continue to
    work as before - this only sets new defaults for the case where
    you don't specify these flags.
  * Set default value of --incompatible_remap_main_repo to true.
  * Set default value of --incompatible_remap_main_repo to true.

OBS-URL: https://build.opensuse.org/request/show/692995
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=30
2019-04-10 23:06:57 +00:00
Dominique Leuenberger
17db86723c Accepting request 686369 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/686369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=5
2019-03-20 12:19:57 +00:00
Michał Rostecki
11f271caba Accepting request 686334 from science:machinelearning
- reduce memory needs also for arm 32bit

OBS-URL: https://build.opensuse.org/request/show/686334
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=28
2019-03-19 10:05:30 +00:00
Yuchen Lin
f1ddc29edd Accepting request 676935 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/676935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=4
2019-02-19 11:00:19 +00:00
Martin Pluskal
e3b5ef7928 Accepting request 676858 from home:elimat:branches:devel:tools:building
- Update to version 0.22.0 
  General Changes:
  * https://docs.bazel.build now supports versioned documentation. Use the 
    selector at the top of the navigation bar to switch between documentation
	for different Bazel releases.
  * set projectId in all PublishBuildToolEventStreamRequest
  Android:
  * mobile-install now works with aapt2. Try it out with
    bazel mobile-install --android_aapt=aapt2 //my:target 
  * Fixed issues with mobile-install v1 when deploying to Android 9 Pie devices.
  * Fixed issue where error messages from Android manifest merging actions
    were not fully propagated.
  * New incompatible change flag --incompatible_use_aapt2_by_default for
    defaulting to aapt2 in Android builds has been added. To build with aapt2
	today, pass the flag --incompatible_use_aapt2_by_default=true or
	--android_aapt=aapt2, or set the aapt_version to aapt2 on your
	android_binary or android_local_test target.
  * Fixed mobile-install v1 error when installing an app with native
    libraries onto an Android 9 (Pie) device.
  * Fixed a mobile-install bug where arm64-v8a libraries were not deployed
    correctly on arm64 devices. This was done by enabling incremental native
	lib deployment by default. A previously undocumented
	--android_incremental_native_libs flag is removed, and is now the regular
	behavior.
  Apple:
  * The objc_bundle rule has been removed. Please migrate to rules_apple's 
    [apple_bundle_import]
  * The apple_stub_binary rule has been deleted.
  * The --xbinary_fdo option that passes xbinary profiles has been added.
  C++:
  * cc_toolchain.(static|dynamic)_runtime_libs attributes are now optional
  Packaging:
  * build_tar.py in tools/build_defs/pkg now supports a JSON manifest that
    can be used to add paths that have symbols that can't be specified via
	the command line
  Query:
  * Filtering of inputs, outputs, and mnemonic filtering have been added to
    aquery.
  * The aquery and cquery query2 tests have been open-sourced.
  * The Bazel query how-to recommends ":*" instead of ":all", because "all"
    might be the name of a target.
  Testing:
  * The --runs_per_test has been placed in the TESTING documentation category.
  * A a clarifying message has been added to test case summary output when
    all test cases pass but the target fails.
- Clean with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/676858
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=26
2019-02-18 07:58:20 +00:00
Dominique Leuenberger
b3c428c520 Accepting request 652046 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/652046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=3
2018-11-27 09:44:53 +00:00
Michał Rostecki
ed31e828b2 Accepting request 652045 from home:mrostecki:branches:devel:tools:building
- Update to version 0.19.2:
  * Add cc_toolchain targets for the new entries in the default
    cc_toolchain_suite.
  * Read the CROSSTOOL from the package of the current
    cc_toolchain, not from --crosstool_top
  * CROSSTOOL file is now read from the package of cc_toolchain,
    not from the package of cc_toolchain_suite. This is not
    expected to break anybody since cc_toolchain_suite and
    cc_toolchain are commonly in the same package.

OBS-URL: https://build.opensuse.org/request/show/652045
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=24
2018-11-26 17:10:00 +00:00
Dominique Leuenberger
54212dcce4 Accepting request 648812 from devel:tools:building
- Update to version 0.19.0:
  * 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.
  * Fixed missing debug symbols when building native code with
    --compilation_mode=dbg that target Android ARM architectures
    by adding the -g flag.
  * 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.
  * 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.
  * LcovMerger was renamed to CoverageOutputGenerator.
  * A new coverage method for C++ rules that uses 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 ).
  * 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.
  * 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 now checks stderr instead of stdout to decide if it is
    outputting to a terminal. --isatty is deprecated, use
    --is_stderr_atty instead.
- enabled aarch64 build and disabled armv7l build as this one fails
  due to java memory errors

OBS-URL: https://build.opensuse.org/request/show/648812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=2
2018-11-14 13:43:31 +00:00
Dominique Leuenberger
0633fde2b5 Accepting request 642625 from devel:tools:building
- Ensure neutrality of description and summary
- Stop overriding _disable_source_fetch
- Remove unnecessary comments
- Update to version 0.18.0:
  * Include also ext jars in the bootclasspath jar.
  * Fix toolchain_java9 on --host_javabase= after
  * Release notes: fix markdown
  * Fix NestHost length computation
  * Don't rethrow any remote cache failures on either download or
    upload, only warn. Added more tests.
  * Fix broken IdlClassTest on Bazel's CI.
  * Fix the Xcode version detection which got broken by the
    upgrade to Xcode 10.0.
  * Temporarily restore processing of workspace-wide
    tools/bazel.rc file.
  * New bazelrc file list.
  * .bazelignore is now fully functional.
  * The startup flag --host_javabase has been renamed to
    --server_javabase to avoid confusion with the build flag
    --host_javabase.
  * The Android resource processing pipeline now supports
    persistence via worker processes. Enable it with
    --persistent_android_resource_processor. A 50% increase was
    observed in build speed for clean local builds and up to 150%
    increase in build speed for incremental local builds.
  * In-memory package //tools/defaults has been removed
    (controlled by --incompatible_disable_tools_defaults_package
    flag).
  * Late bound option defaults (typical example was the --compiler
    flag, when it was not specified, it’s value was computed using
    the CROSSTOOL) are removed (controlled by
    --incompatible_disable_late_bound_option_defaults flag).
  * Depsets are no longer accepted in user_compile_flags and
    user_link_flags in the C++ toolchain API (controlled by
    --incompatible_disable_depset_in_cc_user_flags flag) affects
    C++ users.
  * CROSSTOOL is no longer consulted when selecting C++ toolchain
    (controlled by
    --incompatible_disable_cc_toolchain_label_from_crosstool_proto
    flag).
  * C++ specific Make variables are no longer passed from the
    CppConfiguration, but from the C++ toolchain (controlled by
    --incompatible_disable_cc_configuration_make_variables flag).
  * Skylark api accessing C++ toolchain in ctx.fragments.cpp is
    removed (controlled by
    --incompatible_disable_legacy_cpp_toolchain_skylark_api flag).
  * cc_binary link action no longer hardcodes -static-libgcc for
    toolchains that support embedded runtimes (guarded by
    --experimental_dont_emit_static_libgcc temporarily). Proper
    deprecation using --incompatible flags will follow.
  * Future versions of Bazel will require a locally installed JDK
    for Java development. Previously Bazel would fall back to using
    the embedded --server_javabase if no JDK as available. Pass
    --incompatible_never_use_embedded_jdk_for_javabase to disable
    the legacy behaviour.
  * --javacopt= no longer affects compilations of tools that are
    executed during the build; use --host_javacopt= to change
    javac flags in the host configuration.
  * objc_library now supports the module_name attribute.
  * Support fileset expansion in ctx.actions.args(). Controlled by
--incompatible_expand_directories.
  * --windows_exe_launcher is deprecated, this flag will be removed
soon. Please make sure you are not using it.
  * Bazel now supports the symlink runfiles tree on Windows with
    --experimental_enable_runfiles flag.
  * A new experimental option --experimental_ui_deduplicate has
    been added. It causes the UI to attempt to deduplicate
    messages from actions to keep the console output cleaner.
  * Add --modify_execution_info, a flag to customize action
    execution info.
  * Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
    actions.
  * When computing --instrumentation_filter, end filter patterns
    with "[/:]" to match non-top-level packages exactly and treat
    top-level targets consistently.
  * Added the bazel info server_log command, which obtains the
    main Bazel server log file path. This can help debug Bazel
    issues.
  * aapt shrink resources now properly respect filter
    configurations.
- Update to version 0.17.2:
  * Update checker framework dataflow and javacutil versions
  * Stop using --release in versioned java_toolchains
  * make_deb: Add new empty line in the end of conffiles file
  * Properly mark configuration files in the Debian package.
  * Add flag --incompatible_symlinked_sandbox_expands_tree_
    artifacts_in_runfiles_tree.
  * Update protobuf to 3.6.1 -- add new files
  * Update protobuf to 3.6.1 -- update references
  * Update protobuf to 3.6.1 -- remove 3.6.0 sources
  * Fix protobuf in the WORKSPACE
  * Revert "Update to JDK 10 javac"
  * Fix tests on JDK 9 and 10
  * Fix more tests on JDK 9 and 10
  * Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
    postsubmit.
  * Disable Android shell tests on the "nojava" platform.
  * Update bazel_toolchains to latest release.
  * Windows: fix writing java.log
  * Fix toolchain_java9 on --host_javabase=
  * Include also ext jars in the bootclasspath jar.
  * Do not fail the build when gcov is not installed
  * Ignore unrecognized VM options in desugar.sh, such as the JVM
    9 flags to silence warnings.
  * In the future, Bazel will expand tree artifacts in runfiles,
    too,which causes the sandbox to link each file individually
    into the sandbox directory, instead of symlinking the entire
    directory. In this release, the behavior is not enabled by
    default yet. Please try it out via --incompatible_symlinked_
    sandbox_expands_tree_artifacts_in_runfiles_tree and let us know
    if it causes issues. If everything looks good, this behavior
    will become the default in a following release.
- Update to version 0.15.0:
  + Bazel now always runs binaries in with "bazel run" in
    interactive mode. The "--nodirect_run" command line option is
    now a no-op.
  + "bazel run --noas_test" is not supported anymore.
  + Indentation on the first line of a file was previously ignored,
    this is now fixed.
  + New features:
    * C++,runfiles: to access data-dependencies (runfiles) in C++
      programs, use the runfiles library built into Bazel.
  + Bazel now allows almost all 7-bit ASCII characters in labels.
  + Remove vestigial java_plugin.data attribute
  + Bazel supports including select Java 8 APIs into Android apps
    targeting pre-Nougat Android devices with
    --experimental_desugar_java8_libs
  + Flag --incompatible_disable_glob_tracking is removed.
  + SkyQuery's rbuildfiles now returns targets corresponding to
    broken packages.
  + Introduce build support for providing cache prefetch hints.
  + Update the skylark DefaultInfo documentation to spell out
    runfiles, data_runfiles and default_runfiles.
  + An internal action for symlinking runfiles will use Command
    instead of a Spawns. This should have no functional chages; the
    only user visible consequence should be that the internal
    action is no longer be included in statistics when calculating
    processes count.
  + --batch is deprecated
  + Execution strategies line no longer handles differently the
    case where all processes have the same strategy.
  + The --experimental_remote_spawn_cache flag is now enabled by
    default, and remote caching no longer needs --*_strategy=remote
    flags (it will fail if they are specified).
  + android_binary.aapt_version='aapt2' now supports en_XA and
    ar_XB.
  + With --incompatible_no_support_tools_in_action_inputs enabled,
    Skylark action inputs are no longer scanned for tools. Move any
    such inputs to the newly introduced 'tools' attribute.
- Changes from version 0.14.1:
   + Critical fixes for:
     * Sometime hangs before running any actions,
       (gh#bazelbuild/bazel/#5336).
     * Has no way to unset --disk_cache flag (interferes with
       remote build testing), (gh#bazelbuild/bazel/#5308).
- Changes from version 0.14.0:
  + Add --incompatible_disallow_legacy_javainfo flag.
  + Added flag --incompatible_disallow_old_style_args_add to help
    migrate from args.add() to args.add_all() / args.add_joined()
    where appropriate.
  + New features:
    * Bash,runfiles: use the new platform-independent library in
      @bazel_tools//tools/bash/runfiles to access runfiles
      (data-dependencies).
    * TemplateVariableInfo can now be constructed from Skylark.
    * The java_host_runtime_alias rule is now implemented in Java.
  + Introduce fdo_profile rule that allows architecture-sensitive
    specification of fdo profiles.
  + canonicalize-flags no longer reorders the flags
  + CppRules: optional_compiler_flag was removed from CROSSTOOL,
    use features instead.
  + Labels of the form ////foo are disallowed.
  + The / operator is deprecated in favor of // (floor integer
    division). Try the --incompatible_disallow_slash_operator flag
    to ensure your code is forward-compatible.
  + Flip default value of --experimental_shortened_obj_file_path to
    true, Bazel now generates short object file path by default.
  + Exposed "mnemonic" and "env" fields on skylark "Action"
    objects.
  + Removed flag --incompatible_disallow_toplevel_if_statement.
  + Remove vestigial 'deps' and 'data' attributes from
    proto_lang_toolchain
  + Args objects (ctx.actions.args()) have new methods add_all()
    and add_joined() for building command lines using depsets.
  + FileType is deprecated and will be removed soon.
  + Try the --incompatible_disallow_filetype flag to ensure your
    code is forward-compatible.
  + Introduce absolute_path_profile attribute that allows
    fdo_profile to accept absolute paths.
  + Support two-arg overloads for ctx.actions.args (eg.
    args.add("--foo", val))
  + Introduce 'tools' attribute to ctx.actions.run.
  + Fixed error message for proguard_apply_dictionary.
  + "bazel run" now lets one run interactive binaries.
  + Repository rules are no longer restricted to return None.
  + Add --high_priority_workers flag.
  + CppRules: Feature configuration can be created from Skylark
    Adds new-style JavaInfo provider constructor.
  + Make java_common.compile now uses java_toolchain javacopts by
    default; explicitly retrieving them using
    java_common.default_javac_opts is unnecessary.
  + CppRules: C++ command lines and env variables for C++ actions
    can be retrieved from feature configuration.
  + Skylark rule definitions may advertise providers that targets
    of the rule must propagate.
  + Bazel now supports running actions inside Docker containers.
    To use this feature, run "bazel build --spawn_strategy=docker
    --experimental_docker_image=myimage:latest".
  + Fixing start/end lib expansion for linking. There were many
    cases where archive files were still being used with toolchains
    that support start/end lib. This change consolidates the places
    that make that decision so they can be more consistent.
  + Add support for reporting an error if
    android_test.binary_under_test contains incompatible versions
    of deps.
  + We replaced the --experimental_local_disk_cache and
    --experimental_local_disk_cache_path flags into a single
    --disk_cache flag. Additionally, Bazel now tries to create the
    disk cache directory if it doesn't exist.
  + Save Blaze memory by not storing LinkerInput objects in
    LinkCommandLine.
  + In the JavaInfo created by java_common.create_provider now
    includes both direct and transitive arguments in
    transitive_compile_time_jars and transitive_runtime_jars
  + Allow --worker_max_instances to take MnemonicName=value to
    specify max for each worker.
  + Allow java_toolchain.header_compiler to be an arbitrary
    executable.
- Changes from version 0.13.1:
  + Sort entries by segment when building a parent node to prevent
    unordered directory structures.
- Add attributions and license to package.
- FIXME, don't build bash-completion as it breaks build, plus
  it's not installed andyway.
- Update to 0.13.0
- Update to 0.11.0
- Do not strip  the binary
- Fix compilation issue
  [+0001-fix-no-return-compilation-error.patch+]
 - Inital Package 0.8.1

OBS-URL: https://build.opensuse.org/request/show/642625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bazel?expand=0&rev=1
2018-11-13 15:35:42 +00:00
8f8b04cccd Accepting request 646990 from home:mrostecki:branches:devel:tools:building
- Update to version 0.19.0:
  * 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.
  * Fixed missing debug symbols when building native code with
    --compilation_mode=dbg that target Android ARM architectures
    by adding the -g flag.
  * 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.
  * 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.
  * LcovMerger was renamed to CoverageOutputGenerator.
  * A new coverage method for C++ rules that uses 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 ).
  * 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.
  * 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 now checks stderr instead of stdout to decide if it is
    outputting to a terminal. --isatty is deprecated, use
    --is_stderr_atty instead.

OBS-URL: https://build.opensuse.org/request/show/646990
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=21
2018-11-08 08:22:26 +00:00
Ismail Dönmez
e4898ae0f1 Accepting request 643152 from home:mslacken:ml
- enabled aarch64 build and disabled armv7l build as this one fails
  due to java memory errors

OBS-URL: https://build.opensuse.org/request/show/643152
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=20
2018-10-19 10:41:49 +00:00
Michał Rostecki
4b32920607 Accepting request 642590 from home:mrostecki:branches:devel:tools:building
- Ensure neutrality of description and summary
- Stop overriding _disable_source_fetch
- Remove unnecessary comments
- Update to version 0.18.0:
  * Include also ext jars in the bootclasspath jar.
  * Fix toolchain_java9 on --host_javabase= after
  * Release notes: fix markdown
  * Fix NestHost length computation
  * Don't rethrow any remote cache failures on either download or
    upload, only warn. Added more tests.
  * Fix broken IdlClassTest on Bazel's CI.
  * Fix the Xcode version detection which got broken by the
    upgrade to Xcode 10.0.
  * Temporarily restore processing of workspace-wide
    tools/bazel.rc file.
  * New bazelrc file list.
  * .bazelignore is now fully functional.
  * The startup flag --host_javabase has been renamed to
    --server_javabase to avoid confusion with the build flag
    --host_javabase.
  * The Android resource processing pipeline now supports
    persistence via worker processes. Enable it with
    --persistent_android_resource_processor. A 50% increase was
    observed in build speed for clean local builds and up to 150%
    increase in build speed for incremental local builds.
  * In-memory package //tools/defaults has been removed
    (controlled by --incompatible_disable_tools_defaults_package
    flag).
  * Late bound option defaults (typical example was the --compiler
    flag, when it was not specified, it’s value was computed using
    the CROSSTOOL) are removed (controlled by
    --incompatible_disable_late_bound_option_defaults flag).
  * Depsets are no longer accepted in user_compile_flags and
    user_link_flags in the C++ toolchain API (controlled by
    --incompatible_disable_depset_in_cc_user_flags flag) affects
    C++ users.
  * CROSSTOOL is no longer consulted when selecting C++ toolchain
    (controlled by
    --incompatible_disable_cc_toolchain_label_from_crosstool_proto
    flag).
  * C++ specific Make variables are no longer passed from the
    CppConfiguration, but from the C++ toolchain (controlled by
    --incompatible_disable_cc_configuration_make_variables flag).
  * Skylark api accessing C++ toolchain in ctx.fragments.cpp is
    removed (controlled by
    --incompatible_disable_legacy_cpp_toolchain_skylark_api flag).
  * cc_binary link action no longer hardcodes -static-libgcc for
    toolchains that support embedded runtimes (guarded by
    --experimental_dont_emit_static_libgcc temporarily). Proper
    deprecation using --incompatible flags will follow.
  * Future versions of Bazel will require a locally installed JDK
    for Java development. Previously Bazel would fall back to using
    the embedded --server_javabase if no JDK as available. Pass
    --incompatible_never_use_embedded_jdk_for_javabase to disable
    the legacy behaviour.
  * --javacopt= no longer affects compilations of tools that are
    executed during the build; use --host_javacopt= to change
    javac flags in the host configuration.
  * objc_library now supports the module_name attribute.
  * Support fileset expansion in ctx.actions.args(). Controlled by
--incompatible_expand_directories.
  * --windows_exe_launcher is deprecated, this flag will be removed
soon. Please make sure you are not using it.
  * Bazel now supports the symlink runfiles tree on Windows with
    --experimental_enable_runfiles flag.
  * A new experimental option --experimental_ui_deduplicate has
    been added. It causes the UI to attempt to deduplicate
    messages from actions to keep the console output cleaner.
  * Add --modify_execution_info, a flag to customize action
    execution info.
  * Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
    actions.
  * When computing --instrumentation_filter, end filter patterns
    with "[/:]" to match non-top-level packages exactly and treat
    top-level targets consistently.
  * Added the bazel info server_log command, which obtains the
    main Bazel server log file path. This can help debug Bazel
    issues.
  * aapt shrink resources now properly respect filter
    configurations.

OBS-URL: https://build.opensuse.org/request/show/642590
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=19
2018-10-17 10:19:40 +00:00
Ismail Dönmez
adef706f72 Accepting request 640659 from home:mrostecki:branches:devel:tools:building
- Update to version 0.17.2:
  * Update checker framework dataflow and javacutil versions
  * Stop using --release in versioned java_toolchains
  * make_deb: Add new empty line in the end of conffiles file
  * Properly mark configuration files in the Debian package.
  * Add flag --incompatible_symlinked_sandbox_expands_tree_
    artifacts_in_runfiles_tree.
  * Update protobuf to 3.6.1 -- add new files
  * Update protobuf to 3.6.1 -- update references
  * Update protobuf to 3.6.1 -- remove 3.6.0 sources
  * Fix protobuf in the WORKSPACE
  * Revert "Update to JDK 10 javac"
  * Fix tests on JDK 9 and 10
  * Fix more tests on JDK 9 and 10
  * Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
    postsubmit.
  * Disable Android shell tests on the "nojava" platform.
  * Update bazel_toolchains to latest release.
  * Windows: fix writing java.log
  * Fix toolchain_java9 on --host_javabase=
  * Include also ext jars in the bootclasspath jar.
  * Do not fail the build when gcov is not installed
  * Ignore unrecognized VM options in desugar.sh, such as the JVM
    9 flags to silence warnings.
  * In the future, Bazel will expand tree artifacts in runfiles,
    too,which causes the sandbox to link each file individually
    into the sandbox directory, instead of symlinking the entire
    directory. In this release, the behavior is not enabled by
    default yet. Please try it out via --incompatible_symlinked_
    sandbox_expands_tree_artifacts_in_runfiles_tree and let us know
    if it causes issues. If everything looks good, this behavior
    will become the default in a following release.

OBS-URL: https://build.opensuse.org/request/show/640659
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=18
2018-10-08 21:06:10 +00:00
OBS User mrdocs
42043bc4be Accepting request 619817 from home:malcolmlewis:branches:devel:tools:building
Updated to version 0.15.0

OBS-URL: https://build.opensuse.org/request/show/619817
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=17
2018-06-30 05:37:01 +00:00
OBS User mrdocs
6d8e06c36f Accepting request 603917 from home:vrothberg:branches:Virtualization:containers
- Update to 0.13.0

OBS-URL: https://build.opensuse.org/request/show/603917
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=16
2018-05-04 15:45:49 +00:00
OBS User mrdocs
1353a7e6e3 Accepting request 592206 from home:mrostecki:cilium
- Update to 0.11.0

OBS-URL: https://build.opensuse.org/request/show/592206
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=15
2018-03-30 02:57:06 +00:00
Martin Pluskal
ea701f9b4f Accepting request 577193 from home:ndas:branches:devel:tools:building
- Do not strip  the binary
- Fix compilation issue
  [+0001-fix-no-return-compilation-error.patch+]

OBS-URL: https://build.opensuse.org/request/show/577193
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=14
2018-02-16 11:30:33 +00:00
OBS User mrdocs
a6d0385fa6 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=13 2018-01-25 00:58:17 +00:00
OBS User mrdocs
f61d2d42e0 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=12 2018-01-25 00:57:42 +00:00
OBS User mrdocs
4a8b765993 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=11 2018-01-24 20:29:16 +00:00
OBS User mrdocs
4bdea4f048 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=10 2018-01-24 20:15:26 +00:00
OBS User mrdocs
36acb3b175 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=9 2018-01-24 05:03:26 +00:00
OBS User mrdocs
68ab47004b OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=8 2018-01-24 05:02:35 +00:00
OBS User mrdocs
c40e6fd947 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=7 2018-01-24 04:59:32 +00:00
OBS User mrdocs
5b194ff1a1 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=6 2018-01-24 04:52:24 +00:00
OBS User mrdocs
e2e2047115 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=5 2018-01-24 04:48:19 +00:00
OBS User mrdocs
e9463ecbbe OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=4 2018-01-07 06:07:36 +00:00
OBS User mrdocs
f01d07fa0f OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=3 2018-01-07 06:07:13 +00:00
OBS User mrdocs
4f1a4a6bc9 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=2 2018-01-07 05:55:46 +00:00
Martin Pluskal
8c695a9231 Accepting request 556829 from home:mrdocs
- Inital Package 0.8.1

This has bundled libraries, but needs a home while we wait for upstream to fix.

OBS-URL: https://build.opensuse.org/request/show/556829
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel?expand=0&rev=1
2017-12-14 08:19:26 +00:00