Files
bazel/bazel.spec

47 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package bazel
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
%define bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
Name: bazel
Version: 6
Release: 0
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
Summary: Tool for the automation of building and testing of software
License: Apache-2.0
URL: http://bazel.io/
Source: README
Provides: bazel = %{version}
Requires: bazel%{version}
ExcludeArch: %ix86
%description
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
Tool for the automation of building and testing of software. It supports Java,
C++ and Go as programing languages. It also has a support for Android and iOS
as mobile operating systems.
%prep
cp %{SOURCE0} .
%build
%install
%files
%doc README
%changelog