Skip to content

Commit

Permalink
Flip --incompatible_hermetic_sandbox_tmp for Bazel
Browse files Browse the repository at this point in the history
Fixes spurious Java compile action failures when the action is sandboxed.

Work towards #3236

Closes #18892.

PiperOrigin-RevId: 551818900
Change-Id: I3aee9a6d20a265c476c94be36be8974da2d4079b
  • Loading branch information
fmeum authored and copybara-github committed Jul 28, 2023
1 parent 9d449ab commit 0ab640f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ build --incompatible_disallow_empty_glob
# Manually enable cc toolchain resolution before it is flipped. https://github.com/bazelbuild/bazel/issues/7260
build --incompatible_enable_cc_toolchain_resolution

# Fix non-deterministic Java compilation failures (https://github.com/bazelbuild/bazel/issues/3236)
build --incompatible_sandbox_hermetic_tmp

# User-specific .bazelrc
try-import %workspace%/user.bazelrc

Expand Down

0 comments on commit 0ab640f

Please sign in to comment.