This is an archive of the discontinued LLVM Phabricator instance.

[llvm] New worker for ThinLTO whole program devirtualization
ClosedPublic

Authored by tejohnson on Nov 1 2020, 6:05 PM.

Details

Summary

Adds a new x86_64 Ubuntu worker to test ThinLTO bootstrap with
whole program devirtualization enabled.

Diff Detail

Event Timeline

tejohnson created this revision.Nov 1 2020, 6:05 PM
tejohnson requested review of this revision.Nov 1 2020, 6:05 PM
mtrofin accepted this revision.Nov 2 2020, 11:48 AM

lgtm

buildbot/osuosl/master/config/builders.py
1073

Consider adding -DLLVM_CCACHE_BUILD=ON, too, to speed up compilation. (ccache is installed on the bot, afaik)

This revision is now accepted and ready to land.Nov 2 2020, 11:48 AM
tejohnson added inline comments.Nov 2 2020, 1:55 PM
buildbot/osuosl/master/config/builders.py
1073

I can do that. Do you know why this isn't just on by default for all bots? I checked and there's only a few that have it enabled.

I assume this helps only the first stage compile of a multi-stage build, since for the later stages the compiler will have changed?

mtrofin added inline comments.Nov 2 2020, 1:58 PM
buildbot/osuosl/master/config/builders.py
1073

I can do that. Do you know why this isn't just on by default for all bots? I checked and there's only a few that have it enabled.

You need to have ccache installed, which is up to the bot administrator. We install it.

I assume this helps only the first stage compile of a multi-stage build, since for the later stages the compiler will have changed?

At minimum, yes.

tejohnson added inline comments.Nov 2 2020, 2:03 PM
buildbot/osuosl/master/config/builders.py
1073

You need to have ccache installed, which is up to the bot administrator. We install it.

Got it, thanks.

tejohnson updated this revision to Diff 302403.Nov 2 2020, 2:03 PM

Enable ccache

@gkistanova did you want to look at this change? I'll go ahead and commit tomorrow since it has been accepted, unless I hear otherwise.