This is an archive of the discontinued LLVM Phabricator instance.

[zorg] Support LLVM_ENABLE_RUNTIMES build in ClangBuilder
AbandonedPublic

Authored by jsji on Mar 31 2021, 2:04 PM.

Details

Reviewers
gkistanova
saghir
lei
amyk
stefanp
Conanap
Group Reviewers
Restricted Project
Summary

In D90609 and D90645, we support the LLVM_ENABLE_RUNTIMES by passing
down extra cmake args, this is working.

However, there is one *bug* -- the compiler-rt commits are not shown in
buildbot Changes. eg:
asan commit ce193ea9e8430f15d19dd60d73f13a66e4f374ac
is not shown in Changes of
https://lab.llvm.org/buildbot/#/builders/57/builds/5769

but it is actually in between two other commits, like Changes in
https://lab.llvm.org/buildbot/#/builders/76/builds/2104

The problem is the ClangBuilder use the *depends_on* in scheduler,
so when we disable the *checkout_compiler_rt*, we told scheduler to
ignore compiler-rt commits as well.

In this patch, we introduce the flag to support runtime build in
ClangBuilder, update LLVM_ENABLE_PROJECTS and LLVM_ENABLE_RUNTIMES
according to the flag, without changing the depends_on list.

And use it in clang-ppc64le-rhel builder.

Event Timeline

jsji requested review of this revision.Mar 31 2021, 2:04 PM
jsji created this revision.
jsji added a comment.Apr 14 2021, 7:09 AM

Ping ... @gkistanova Appreciate if you can help to review or comment of this? Thanks.

jsji abandoned this revision.May 12 2021, 7:47 PM

RHEL bots has now been switched to UnifiedTreeBuilder, and runtime support was added recently in https://reviews.llvm.org/rZORG90c0b74c2ee54639b417bbda061c45ba8967ed9f.