diff options
author | Brian Anderson <banderson@mozilla.com> | 2016-12-22 22:00:21 +0000 |
---|---|---|
committer | Brian Anderson <banderson@mozilla.com> | 2016-12-22 22:33:42 +0000 |
commit | 7d428b71dec973d6f53e16d18af7e2751321aafe (patch) | |
tree | 870e68eaeb33025b7ec08d6b696ecb22b730489b /configure | |
parent | Auto merge of #38538 - estebank:outdated-fixme-3300, r=petrochenkov (diff) | |
download | grust-7d428b71dec973d6f53e16d18af7e2751321aafe.tar.gz grust-7d428b71dec973d6f53e16d18af7e2751321aafe.tar.bz2 grust-7d428b71dec973d6f53e16d18af7e2751321aafe.tar.xz |
Delete the llvm submodule lockfile when configuring on the bots
This should fix the periodic error that .git/modules/src/llvm/index.lock
exists on the mac slaves.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -917,6 +917,18 @@ case $CFG_BUILD in | |||
917 | esac | 917 | esac |
918 | putvar CFG_LLDB_PYTHON | 918 | putvar CFG_LLDB_PYTHON |
919 | 919 | ||
920 | # Do some sanity checks if running on buildbot | ||
921 | # (these env vars are set by rust-buildbot) | ||
922 | if [ -n "$RUST_DIST_SERVER" -a -n "$ALLOW_NONZERO_RLIMIT_CORE" ]; then | ||
923 | # Frequently the llvm submodule directory is broken by the build | ||
924 | # being killed | ||
925 | llvm_lock="${CFG_SRC_DIR}/.git/modules/src/llvm/index.lock" | ||
926 | if [ -e "$llvm_lock" ]; then | ||
927 | step_msg "removing $llvm_lock" | ||
928 | rm -f "$llvm_lock" | ||
929 | fi | ||
930 | fi | ||
931 | |||
920 | step_msg "looking for target specific programs" | 932 | step_msg "looking for target specific programs" |
921 | 933 | ||
922 | probe CFG_ADB adb | 934 | probe CFG_ADB adb |