Skip to content

Commit

Permalink
Flip --incompatible_sandbox_hermetic_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
  • Loading branch information
fmeum committed Jul 11, 2023
1 parent a0e4063 commit 40c9a1a
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 @@ -38,6 +38,9 @@ build --tool_java_language_version=11
# Fail if a glob doesn't match anything (https://github.com/bazelbuild/bazel/issues/8195)
build --incompatible_disallow_empty_glob

# 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 40c9a1a

Please sign in to comment.