xref: /aosp_15_r20/external/dagger2/tools/bazel.rc (revision f585d8a307d0621d6060bd7e80091fdcbf94fe27)
1# Global bazelrc file (see https://bazel.build/run/bazelrc#global-bazelrc)
2
3# Note: This flag is required to prevent actions from clashing with each when
4# reading/writing tmp files. Without this flag we get errors like:
5#
6#  Error: Cannot use file /tmp/hsperfdata_runner/12 because it is locked by
7#         another process
8#
9# This flag will be enabled by default in Bazel 7.0.0, but for now we enable it
10# manually. For more details: https://github.com/bazelbuild/bazel/issues/3236.
11build --incompatible_sandbox_hermetic_tmp