summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2016-12-22 22:00:21 +0000
committerBrian Anderson <banderson@mozilla.com>2016-12-22 22:33:42 +0000
commit7d428b71dec973d6f53e16d18af7e2751321aafe (patch)
tree870e68eaeb33025b7ec08d6b696ecb22b730489b /configure
parentAuto merge of #38538 - estebank:outdated-fixme-3300, r=petrochenkov (diff)
downloadgrust-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-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index e495c0d3ab..4f1e8f656a 100755
--- a/configure
+++ b/configure
@@ -917,6 +917,18 @@ case $CFG_BUILD in
917esac 917esac
918putvar CFG_LLDB_PYTHON 918putvar CFG_LLDB_PYTHON
919 919
920# Do some sanity checks if running on buildbot
921# (these env vars are set by rust-buildbot)
922if [ -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
930fi
931
920step_msg "looking for target specific programs" 932step_msg "looking for target specific programs"
921 933
922probe CFG_ADB adb 934probe CFG_ADB adb