aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/shell
diff options
context:
space:
mode:
authorGravatar Philipp Wollermann <philwo@google.com>2016-09-20 12:53:37 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2016-09-21 07:04:12 +0000
commit52f4e8bbaf18ea489acd2db464f267757e8eb6d4 (patch)
tree608c16dd0160d6b355def1f71c0cee4239bed3f5 /src/main/java/com/google/devtools/build/lib/shell
parent08849b29198230eacd4e85fc7246be8e399e4c4d (diff)
Fix Bazel failing to build anything when its workspace or output base is in /tmp.
Add "-b" option to linux-sandbox to explicitly bind mount files / directories into the sandbox. This is used to pull in the workspace and output base of Bazel even when they're located in /tmp and would thus be hidden by the tmpfs we mount on the /tmp directory in the sandbox. Add "-S" option to linux-sandbox to explicitly specify a temporary directory to be used to contain the sandbox. This can be created by Bazel and then removed more reliably, compared to the earlier behavior where the sandbox would create its own temporary root directory in /tmp/sandbox.XXXXXX (and fail to delete it in case it gets killed by a signal). Fix spurious empty.XXXXXX files and directories not being deleted from /tmp. -- MOS_MIGRATED_REVID=133695992
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/shell')
0 files changed, 0 insertions, 0 deletions