File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
zorg/buildbot/builders/sanitizers Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,11 @@ function buildbot_update {
144144 git checkout -f " ${BUILDBOT_REVISION} "
145145 git status
146146 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" ]] || (git log -1 --after=' 3 hours ago' | grep .) || {
149+ echo Revision is not recent enough
150+ exit 1
151+ }
147152 ) || { build_exception ; exit 1 ; }
148153 LLVM=$ROOT /llvm-project/llvm
149154 fi
@@ -204,7 +209,7 @@ function build_clang_at_release_tag {
204209 then
205210 echo " @@@BUILD_STEP using pre-built stage1 clang at r${host_clang_revision} @@@"
206211 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
208213
209214 rm -rf ${STAGE1_DIR}
210215 echo @@@BUILD_STEP build stage1 clang at $host_clang_revision @@@
You can’t perform that action at this time.
0 commit comments