File tree 1 file changed +6
-1
lines changed
zorg/buildbot/builders/sanitizers
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,11 @@ function buildbot_update {
144
144
git checkout -f " ${BUILDBOT_REVISION} "
145
145
git status
146
146
git rev-list --pretty --max-count=1 HEAD
147
+ # FIXME: Workaround for https://github.com/llvm/llvm-zorg/issues/250
148
+ [[ " ${SKIP_OLD:- 1} " == " 0" ]] || [[ ! -v BUILDBOT_SCHEDULER ]] || [[ " ${BUILDBOT_SCHEDULER} " == " force-build-scheduler" ]] || (git log -1 --after=' 3 hours ago' | grep .) || {
149
+ echo Revision is not recent enough
150
+ exit 1
151
+ }
147
152
) || { build_exception ; exit 1 ; }
148
153
LLVM=$ROOT /llvm-project/llvm
149
154
fi
@@ -204,7 +209,7 @@ function build_clang_at_release_tag {
204
209
then
205
210
echo " @@@BUILD_STEP using pre-built stage1 clang at r${host_clang_revision} @@@"
206
211
else
207
- BUILDBOT_MONO_REPO_PATH= BUILDBOT_REVISION=" ${host_clang_revision} " buildbot_update
212
+ SKIP_OLD=0 BUILDBOT_MONO_REPO_PATH= BUILDBOT_REVISION=" ${host_clang_revision} " buildbot_update
208
213
209
214
rm -rf ${STAGE1_DIR}
210
215
echo @@@BUILD_STEP build stage1 clang at $host_clang_revision @@@
You can’t perform that action at this time.
0 commit comments