This project is mirrored from https://github.com/bazelbuild/bazel.git.
Pull mirroring updated .
- Nov 15, 2023
-
-
Googler authored
Downstream testing shows a not-yet-diagnosed correctness problem. PiperOrigin-RevId: 578998938 Change-Id: Ic22725f97a7a1f9bb2be22f4cf63b47bad822b13
-
- Oct 28, 2023
-
-
Googler authored
Remove TODO comment that was addressed in https://github.com/bazelbuild/bazel/commit/a17256e1875d85de260a39e970ba6c3c2e027a06. PiperOrigin-RevId: 577292855 Change-Id: Ic29077498335adcf821bdc295fa18ef2fe3c5723
-
Googler authored
Followup from issue #19471 to include details specific to execution strategy for the select actions included in BEP. PiperOrigin-RevId: 577279639 Change-Id: I112182134f1ce798c22f8f81998a14040344c191
-
- Oct 27, 2023
-
-
Googler authored
This helps implementations avoid having to perform the clumsy `dep.files.to_list()[0]` PiperOrigin-RevId: 577207345 Change-Id: I1aa53d59093ce62705c22e33940b8ff04fa20877
-
Googler authored
PiperOrigin-RevId: 577163253 Change-Id: I1cd458a6239543ac8c45f35ae9e32da45d9d4099
-
Richard Levasseur authored
These are necessary for deeper and more correct integration between C++ and Python, which is predominately used within the Google implementation. PiperOrigin-RevId: 577004134 Change-Id: I31afe7993492c9ebbc12e9bed7aa42667ab99aaf
-
Googler authored
It's not actually needed, as none of the implementations override close(). PiperOrigin-RevId: 576945677 Change-Id: Iac7f9070381f5b011aee7e21249934cfdeb535d2
-
Fredrik Medley authored
Closes #19941. PiperOrigin-RevId: 576939270 Change-Id: Iafe4eb6d885e339db52ff2b496bd0a571ec6609d
-
Googler authored
Ensure that the rule class synthesized by a call to `testing.analysis_test` has a "definition environment digest" that differs by target. We were previously incorrectly using the same digest for all calls. See the added code comment for the reasoning behind our new approach. tl;dr - We're still incorrect overall but we're now less incorrect. I added a TODO to fully fix this flaw. PiperOrigin-RevId: 576938053 Change-Id: Ifd65c90c9bfd2e716ed1fcc1260b4eb17bc645a2
-
Googler authored
Fixes: https://github.com/bazelbuild/bazel/issues/19609 PiperOrigin-RevId: 576924920 Change-Id: I7ab0c13539f729a80a08e264d35aed7dafe78cc0
-
Googler authored
PiperOrigin-RevId: 576897399 Change-Id: I3bef1732930bbd6acc2d3aa6f24b880e9d20438a
-
Googler authored
#19935 gives a clear repro. The problem appears when a stashed sandbox contains a directory whose same path is a regular file in a later execution. If we try to reuse the stashed sandbox we trigger an error if the old directory contained any files. This was due to simply calling delete() without checking first if it was a directory. The fix is to call deleteTree() instead in those cases. directory. Fixes #19935 RELNOTES:none PiperOrigin-RevId: 576889004 Change-Id: I73b145cd574b83c473ffaccd90b675eb5f086c0e
-
- Oct 26, 2023
-
-
Guillaume Maudoux authored
* Group logging into a single debug message per (toolchain type, target platform) pair to avoid mixed output lines. This allows to reduce the length of debug lines as repeated information is explicit from the context in the previous lines. * Use indentation to highlight resolution phases 1. looking for all toolchains matching the target platform 2. looking for all exec platforms matching the said toolchain * Add a summary message containing all the selected triplets * Less aggressive printing of exec platform resolution * Speedup toolchain resolution a bit by stopping search as soon as all exec platforms have a toolchain assigned. ##### Baseline output ``` Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java10; mismatching config settings: nonprebuilt_toolchain_java10_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: execution //:default_host_platform: Selected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: execution @local_config_platform//:host: Selected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java12; mismatching config settings: nonprebuilt_toolchain_java12_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java13; mismatching config settings: nonprebuilt_toolchain_java13_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java14; mismatching config settings: nonprebuilt_toolchain_java14_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java15; mismatching config settings: nonprebuilt_toolchain_java15_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java16; mismatching config settings: nonprebuilt_toolchain_java16_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java17; mismatching config settings: nonprebuilt_toolchain_java17_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java18; mismatching config settings: nonprebuilt_toolchain_java18_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java19; mismatching config settings: nonprebuilt_toolchain_java19_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java20; mismatching config settings: nonprebuilt_toolchain_java20_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java21; mismatching config settings: nonprebuilt_toolchain_java21_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java22; mismatching config settings: nonprebuilt_toolchain_java22_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java23; mismatching config settings: nonprebuilt_toolchain_java23_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: execution //:default_host_platform: Selected toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java24; mismatching config settings: nonprebuilt_toolchain_java24_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java25; mismatching config settings: nonprebuilt_toolchain_java25_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java26; mismatching config settings: nonprebuilt_toolchain_java26_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java27; mismatching config settings: nonprebuilt_toolchain_java27_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/cpp:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-armeabi-v7a; mismatching values: armv7, android INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java28; mismatching config settings: nonprebuilt_toolchain_java28_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java29; mismatching config settings: nonprebuilt_toolchain_java29_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java30; mismatching config settings: nonprebuilt_toolchain_java30_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java8; mismatching config settings: nonprebuilt_toolchain_java8_default_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java8; mismatching config settings: nonprebuilt_toolchain_java8_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java9; mismatching config settings: nonprebuilt_toolchain_java9_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: execution platform //:default_host_platform: Skipping toolchain //:bazel_java_toolchain; execution platform already has selected toolchain INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: execution @local_config_platform//:host: Selected toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_linux//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_linux_aarch64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_linux_ppc64le//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_linux_s390x//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_macos//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: execution platform @local_config_platform//:host: Skipping toolchain //:bazel_java_toolchain; execution platform already has selected toolchain INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6//toolchains:toolchain_java10; mismatching config settings: toolchain_java10_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: execution platform //:default_host_platform: Skipping toolchain @rules_java~7.0.6//toolchains:toolchain_java11; execution platform already has selected toolchain INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: execution platform @local_config_platform//:host: Skipping toolchain @rules_java~7.0.6//toolchains:toolchain_java11; execution platform already has selected toolchain INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6//toolchains:toolchain_java8; mismatching config settings: toolchain_java8_default_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6//toolchains:toolchain_java8; mismatching config settings: toolchain_java8_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6//toolchains:toolchain_java9; mismatching config settings: toolchain_java9_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6//toolchains:toolchain_jdk_17; mismatching config settings: toolchain_jdk_17_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6//toolchains:toolchain_jdk_21; mismatching config settings: toolchain_jdk_21_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/cpp:toolchain_type: target platform @local_config_platform//:host: execution //:default_host_platform: Selected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 INFO: ToolchainResolution: Type @bazel_tools//tools/cpp:toolchain_type: target platform @local_config_platform//:host: execution @local_config_platform//:host: Selected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 INFO: ToolchainResolution: Type @bazel_tools//tools/cpp:toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-armeabi-v7a; mismatching values: armv7, android INFO: ToolchainResolution: Type @bazel_tools//tools/cpp:toolchain_type: target platform @local_config_platform//:host: execution platform //:default_host_platform: Skipping toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8; execution platform already has selected toolchain INFO: ToolchainResolution: Type @bazel_tools//tools/cpp:toolchain_type: target platform @local_config_platform//:host: execution platform @local_config_platform//:host: Skipping toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8; execution platform already has selected toolchain INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_macos_aarch64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_win//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk11_win_arm64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_linux//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_linux_aarch64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_linux_ppc64le//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_linux_s390x//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_macos//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_macos_aarch64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_win//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk17_win_arm64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk21_linux//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk21_linux_aarch64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk21_macos//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk21_macos_aarch64//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Type @bazel_tools//tools/jdk:runtime_toolchain_type: target platform @local_config_platform//:host: Rejected toolchain @rules_java~7.0.6~toolchains~remotejdk21_win//:jdk; mismatching config settings: prefix_version_setting INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/cpp:toolchain_type -> toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8, type @bazel_tools//tools/jdk:toolchain_type -> toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11, type @bazel_tools//tools/jdk:runtime_toolchain_type -> toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/cpp:toolchain_type -> toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/jdk:toolchain_type -> toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/jdk:runtime_toolchain_type -> toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' INFO: Analyzed target //src:bazel_nojdk (472 packages loaded, 10806 targets configured). INFO: Found 1 target... Target //src:bazel_nojdk up-to-date: bazel-bin/src/bazel_nojdk INFO: Elapsed time: 14.165s, Critical Path: 0.49s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action ```` ##### This PR ``` Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Performing resolution of @bazel_tools//tools/jdk:runtime_toolchain_type for target platform @local_config_platform//:host Toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk is compatible with target plaform, searching for execution platforms: Compatible execution platform //:default_host_platform Compatible execution platform @local_config_platform//:host All execution platforms have been assigned a @bazel_tools//tools/jdk:runtime_toolchain_type toolchain, stopping => Recap of selected @bazel_tools//tools/jdk:runtime_toolchain_type toolchains for target platform @local_config_platform//:host: Selected toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk to run on exec platform //:default_host_platform Selected toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk to run on exec platform @local_config_platform//:host INFO: Performing resolution of @bazel_tools//tools/jdk:toolchain_type for target platform @local_config_platform//:host Rejected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java10; mismatching config settings: nonprebuilt_toolchain_java10_version_setting Toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 is compatible with target plaform, searching for execution platforms: Compatible execution platform //:default_host_platform Compatible execution platform @local_config_platform//:host All execution platforms have been assigned a @bazel_tools//tools/jdk:toolchain_type toolchain, stopping => Recap of selected @bazel_tools//tools/jdk:toolchain_type toolchains for target platform @local_config_platform//:host: Selected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 to run on exec platform //:default_host_platform Selected toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 to run on exec platform @local_config_platform//:host INFO: Performing resolution of @bazel_tools//tools/cpp:toolchain_type for target platform @local_config_platform//:host Rejected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-armeabi-v7a; mismatching values: armv7, android Toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 is compatible with target plaform, searching for execution platforms: Compatible execution platform //:default_host_platform Compatible execution platform @local_config_platform//:host All execution platforms have been assigned a @bazel_tools//tools/cpp:toolchain_type toolchain, stopping => Recap of selected @bazel_tools//tools/cpp:toolchain_type toolchains for target platform @local_config_platform//:host: Selected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 to run on exec platform //:default_host_platform Selected toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 to run on exec platform @local_config_platform//:host INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/cpp:toolchain_type -> toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8, type @bazel_tools//tools/jdk:toolchain_type -> toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11, type @bazel_tools//tools/jdk:runtime_toolchain_type -> toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/cpp:toolchain_type -> toolchain @bazel_tools~cc_configure_extension~local_config_cc//:cc-compiler-k8 INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/jdk:toolchain_type -> toolchain @bazel_tools//tools/jdk:nonprebuilt_toolchain_java11 INFO: ToolchainResolution: Target platform @local_config_platform//:host: Selected execution platform //:default_host_platform, type @bazel_tools//tools/jdk:runtime_toolchain_type -> toolchain @rules_java~7.0.6~toolchains~local_jdk//:jdk DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' DEBUG: /home/layus/.cache/bazel/_bazel_layus/9cba04cd38f91c4f00ab1cb532fc20ef/external/rules_jvm_external~5.2/private/extensions/maven.bzl:141:14: The maven repository 'maven' is used in two different bazel modules, originally in 'bazel' and now in 'protobuf' INFO: Analyzed target //src:bazel_nojdk (472 packages loaded, 10806 targets configured). INFO: Found 1 target... Target //src:bazel_nojdk up-to-date: bazel-bin/src/bazel_nojdk INFO: Elapsed time: 13.732s, Critical Path: 0.39s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action ``` /fixes https://github.com/bazelbuild/bazel/issues/17814 Closes #19926. PiperOrigin-RevId: 576878906 Change-Id: I65517f320fde8c17e6f04a9d6b89c31ab6e6da33
-
Johan Euphrosine authored
PiperOrigin-RevId: 576803923 Change-Id: Iaa8e3e70bbcc7c4294650aa186defa2da3361bea
-
- Oct 25, 2023
-
-
Googler authored
Actions in this set were not necessarily rewound from a completed state. PiperOrigin-RevId: 576533659 Change-Id: I1eb721287718dd7c66fa3ea9a732785391a02d4e
-
Googler authored
By populating these fields for all actions we achieve the minimal goals of issue #19471 and make action timing information available. No strategy-specific information is reported. Uses the earliest `SpawnResult.getStartTime()` to determine the start_time to report. Uses `SpawnResult.getWallTimeInMs()` to compute the action's end-time. PiperOrigin-RevId: 576511612 Change-Id: Ia41de12ca8ddfab315ee224c32ed78c674daea63
-
Googler authored
PiperOrigin-RevId: 576215983 Change-Id: Iec25e6f8c3c019fcbd1a54da80dacc1b86eddd3c
-
Googler authored
Report starlark error if multiple targets with the same label are used in `expand_location` `targets` list Fixes: https://github.com/bazelbuild/bazel/issues/16664 PiperOrigin-RevId: 576172446 Change-Id: I22641ee4b0c34dc4818962ece58f786708a45da0
-
- Oct 24, 2023
-
-
Richard Levasseur authored
A couple cc semantics functions are used that rely on more internal helpers or have some non-trivial logic, so it'd necessary/better to use them directly instead of copying their implementation. PiperOrigin-RevId: 575959496 Change-Id: I315067c14023058615f2cf5e7e8d42956f2566f0
-
Googler authored
This only occurs when the build interrupts while Starlark exec transitions are evaluating. In practice this is rare: these transitions are heavily cached and only actually evaluate a few times PiperOrigin-RevId: 575920307 Change-Id: I242811958f502bcd5534cf446c26336cd7d14bcb
-
Ulf Adams authored
Apparently, `rules_python` changed the location of the coverage docs. Closes #19916. PiperOrigin-RevId: 575856850 Change-Id: Ie840ba3ae445295a39e26f96e74f680903943df5
-
Googler authored
In `RecursivePackageProviderBackedTargetPatternResolver` et al. gracefully tolerate the situation of a package that contains errors but doesn't have a failure detail. PiperOrigin-RevId: 575855757 Change-Id: Idda6b59be188cb7f15207c5a0a38d90890b3fc82
-
- Oct 23, 2023
-
-
Googler authored
Before this change, production code supported `--experimental_starlark_exec`. But some test code and `BaselineOptionsFunction` didn't. This change opts them in too. ### Details: - `AnalysisTestUtil` has an exec config getter that completely ignores the Starlark transition: when it sets up `ExecutionTransitionFactory`'s `AttributeTransitionData`, it omits the `analysisData` setter that injects the Starlark transition. - I added that setter. But since this isn't a Skyfunction, I had to refactor the transition loading logic. I moved it to a dedicated class (`StarlarkExecTransitionLoader`) and added access points for all relevant callers. - `StarlarkExecTransitionLoader` is just a copy of what was previously in `DependencyResolver`. PiperOrigin-RevId: 575831770 Change-Id: I16889d111e4a1c0304629c4de870cdee1976a4c5
-
Benjamin Peterson authored
Closes #19901. PiperOrigin-RevId: 575825582 Change-Id: Ia29e610f9ade7613600681e5e1bb6fcd1e5899b2
-
Wade Carpenter authored
With reference to #19911, the link was being rendered as `https://extending/platforms` because of the extra leading `/`. Closes #19913. PiperOrigin-RevId: 575821146 Change-Id: Ib934db844397b9a217aec68a61d03ced62f10485
-
Tiago Quelhas authored
Related to #10112. See discussion there. Closes #19918. PiperOrigin-RevId: 575820958 Change-Id: Iaa62907f3d65ba51faa6185ba801df21124667b9
-
Googler authored
Add `--experimental_use_sepmaphore_for_jobs` for rewinding tests that require exact number of concurrent actions. PiperOrigin-RevId: 575793602 Change-Id: If70dd6d0c766277d9f885cc31a48b7b5adf65504
-
Bazel Release System authored
Baseline: e66a10f4 Initial release.
-
Benjamin Peterson authored
It's a no-op; mark it as such. Closes #18068. PiperOrigin-RevId: 575710465 Change-Id: Ia8f57b9ba1c7322f04d5ce5963a627baad89649a
-
- Oct 21, 2023
-
-
Googler authored
Downstream tests: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3393 RELNOTES[INC]: transition is removed from objc_library (https://github.com/bazelbuild/bazel/issues/19688) PiperOrigin-RevId: 575438171 Change-Id: I2deed40dbb289255623d8c8281157ea3326901a2
-
Googler authored
Since there can be conflict between the main aspect attributes names and the names of the rule and the base aspects attributes, revalidating rule owned dependencies while evaluating an aspect on the rule can cause incorrect errors. At the same time, dependencies of base aspects as well as the rule itself are already checked when they are evaluated. PiperOrigin-RevId: 575355459 Change-Id: I1813de4aca2227d3781c4ab8ff2bf4d05b55d051
-
Googler authored
to represent the analysis context during the evaluation of aspects. Also correct the order of merging attribute dependencies of rule and aspects to prepare for isolating main aspect dependencies from the underlying rule and base aspects dependencies. PiperOrigin-RevId: 575344066 Change-Id: I8e32a826d6852259f107233c4a2c0f2f7f621b38
-
Googler authored
Add test coverage for deprecation warnings on boolean options specified with the old option name when [special boolean syntax](https://bazel.build/reference/command-line-reference#option-syntax) is used. PiperOrigin-RevId: 575291893 Change-Id: Ia86cf72937a96d2014f772094dd661e546714cdd
-
Googler authored
PiperOrigin-RevId: 575246980 Change-Id: I5e986586a700d92a2b416660d0136bbc83ef9948
-
- Oct 20, 2023
-
-
Googler authored
Loose headers were disabled a long time ago so all this is dead code. RELNOTES: None. PiperOrigin-RevId: 575181594 Change-Id: Ibb81d5f1a0126016674228855f3df2e398c23fd3
-
Googler authored
Aquery previously reported these files as being the inputs of a middleman action whose output is a regular input of the action. They are now a separate concept called "scheduling dependencies" which need to be handled separately. RELNOTES[NEW]: "bazel aquery" now returns the headers C++ compilation actions can include if the --include_scheduling_dependencies command line option is set. PiperOrigin-RevId: 575173830 Change-Id: I4a801ec8602463afd03e45d706b4dfe1f86b11e8
-
Augie Fackler authored
We need this to implement --fission support for Rust, but don't want to burden the blaze team with an imperfect API long-term. This should be enough to unblock us without too much risk. PiperOrigin-RevId: 575161892 Change-Id: I144a09a83159084a0aafd8fc13e7945bdd3f4b16
-
Googler authored
PiperOrigin-RevId: 575157150 Change-Id: I81495efeff3cb2c1715820637dcd9de440a3ada0
-
Googler authored
PiperOrigin-RevId: 575139986 Change-Id: I25aab3c4d30cbe6ef32506865271909265d2e599
-
Googler authored
This fixes issue with Bazel downstream when building `@bazel_tools//tools/android:gen_java_base_extras_jar` with `--incompatible_auto_exec_groups` flag which enables AEGs in Bazel. Since the rule needs to register java toolchain, I've also used that toolchain for the action's executable (`_java_toolchain` is not needed anymore and can be deleted). PiperOrigin-RevId: 575139627 Change-Id: I60f0aae58aac8156cbf367c96297d7ad7227f655
-