Skip to content

Commit

Permalink
Revert "[sanitize] Don't build older then 1h requests"
Browse files Browse the repository at this point in the history
Remove #250 to try #266.

This reverts commit c6560e5.
  • Loading branch information
vitalybuka committed Nov 4, 2024
1 parent 4a96af0 commit 3c5528c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions zorg/buildbot/builders/sanitizers/buildbot_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ function buildbot_update {
git checkout -f "${BUILDBOT_REVISION}"
git status
git rev-list --pretty --max-count=1 HEAD
# FIXME: Workaround for https://github.com/llvm/llvm-zorg/issues/250
[[ "${SKIP_OLD:-1}" == "0" ]] || [[ ! -v BUILDBOT_SCHEDULER ]] || [[ "${BUILDBOT_SCHEDULER}" == "force-build-scheduler" ]] || (git log -1 --after='3 hours ago' | grep .) || {
echo Revision is not recent enough
exit 1
}
) || { build_exception ; exit 1 ; }
LLVM=$ROOT/llvm-project/llvm
fi
Expand Down Expand Up @@ -209,7 +204,7 @@ function build_clang_at_release_tag {
then
echo "@@@BUILD_STEP using pre-built stage1 clang at r${host_clang_revision}@@@"
else
SKIP_OLD=0 BUILDBOT_MONO_REPO_PATH= BUILDBOT_REVISION="${host_clang_revision}" buildbot_update
BUILDBOT_MONO_REPO_PATH= BUILDBOT_REVISION="${host_clang_revision}" buildbot_update

rm -rf ${STAGE1_DIR}
echo @@@BUILD_STEP build stage1 clang at $host_clang_revision@@@
Expand Down

0 comments on commit 3c5528c

Please sign in to comment.