Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/bazelbuild/bazel.git. Pull mirroring updated .
  1. Jun 26, 2021
    • Bazel Release System's avatar
      Release 5.0.0-pre.20210615.3 (2021-06-25) · aa0273ef
      Bazel Release System authored
      Baseline: e7bd0947
      
      Cherry picks:
      
         + 04bed291:
           Disable shadowed_action part of action_aspect_test
         + 367b19eb:
           Fix starlark action with shadowed_action inputs cache test
         + 4acb9ae6:
           Automated rollback of commit
           03f6af62.
      
      Incompatible changes:
      
        - Native libraries in data attribute are not collected. See
          https://github.com/bazelbuild/bazel/issues/13550 for details
      
      Important changes:
      
        - Remove obsolete --incompatible_prohibit_aapt1
        - The minimum Android build tools version for the Android rules is
          now 30.0.0
      
      This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
    • steinman's avatar
      Automated rollback of commit 03f6af62. · f2f0f03c
      steinman authored
      *** Reason for rollback ***
      
      Potentially causes a performance regression: []
      
      *** Original change description ***
      
      Define a natural ordering for `ActionInput`.
      
      `Artifact` defines natural ordering by comparing exec paths, which are defined at the level of `ActionInput`. Move that to `ActionInput` interface. Move `Artifact.EXEC_PATH_COMPARATOR` to `ActionInput` to allow convenient comparisons with null.
      
      PiperOrigin-RevId: 380019680
      f2f0f03c
    • messa's avatar
      Fix starlark action with shadowed_action inputs cache test · d6e13ba8
      messa authored
      The test was flaky mainly due to using `&` instead of `&&` to execute two consecutive commands in the aspect action.
      
      This CL contains other improvements:
       - using timestamp in the test files instead of date-time to be more accurate.
       - splitting the test method into two tests to clarify the purpose of each of them.
      
      PiperOrigin-RevId: 379793635
      d6e13ba8
    • twigg's avatar
      Disable shadowed_action part of action_aspect_test · b353ad50
      twigg authored
      PiperOrigin-RevId: 379606378
      b353ad50
  2. Jun 15, 2021
  3. Jun 14, 2021
  4. Jun 12, 2021
  5. Jun 11, 2021
  6. Jun 10, 2021
    • plf's avatar
      Fix make variable expansion · 5bb1b38e
      plf authored
      A make variable may contain another make variable.
      
      RELNOTES:none
      PiperOrigin-RevId: 378656678
      5bb1b38e
    • gregce's avatar
      Java compilation: rewrite executor-produced .jdeps for the Bazel output tree. · 5f9e9f04
      gregce authored
      This is a roll forward of https://github.com/bazelbuild/bazel/commit/526ea392ac50a0f11eb65fd29a6cde5962a08c97 , which was rolled back due to increased memory pressure.
      
      The original change created a new .jdeps.stripped file for executor output, then preserved the existing .jdeps file for the final result in Bazel's output tree. Experimentation showed that the very act of adding a new output artifact to all Java compilations can contribute ~0.7% more memory to a build . While this is a small percentage, it's large enough to be problematic for large builds that are already close to OOMing.
      
      This version keeps Bazel restricted to the existing .jdeps file. It distinguishes executor/Bazel content by time: 1) begin Java compilation action, 2) compile on the executor, write .jdeps, 3) locally rewrite .jdeps for Bazel, 4) complete the action.
      
      Tests show this preserves the executor-caching results inspiring this work and saves the memory regression from the original version.
      
      For https://github.com/bazelbuild/bazel/issues/6526.
      
      PiperOrigin-RevId: 378649901
      5f9e9f04
    • Googler's avatar
      Fix broken link · 294407fb
      Googler authored
      RELNOTES: None.
      PiperOrigin-RevId: 378648914
      294407fb
    • Chi Wang's avatar
      Remote: Add --experimental_capture_corrupted_outputs flag. · 4ca8946a
      Chi Wang authored
      Which when set, Bazel will save outputs whose digest does not match the expected value to the target directories.
      
      Also use OutputDigestMismatchException to indicate the error and include output path in the error message. The message for such an error will become e.g.:
      
      ```
      com.google.devtools.build.lib.remote.common.OutputDigestMismatchException: Output bazel-out/darwin-fastbuild/bin/output.txt download failed: Expected digest '872af2fe77729717832d0a020ae87a93b8b944146a2af6b3490491e1eaf1dc74/29229' does not match received digest '872af2fe77729717832d0a020ae87a93b8b944146a2af6b3490491e1eaf1dc74/29229'.
      ```
      
      Used to support https://github.com/bazelbuild/continuous-integration/issues/1175.
      
      Closes #13568.
      
      PiperOrigin-RevId: 378624823
      4ca8946a