This is an archive of the discontinued LLVM Phabricator instance.

[test-release] Add option to build BOLT
ClosedPublic

Authored by rafauler on Aug 11 2022, 11:01 AM.

Details

Summary

Add a flag to enable BOLT. Should be used in x86-64 and
AArch64 linux builds only, since BOLT doesn't really support other
targets and is mostly tested on these two systems as hosts.

Diff Detail

Event Timeline

rafauler created this revision.Aug 11 2022, 11:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 11:01 AM
rafauler requested review of this revision.Aug 11 2022, 11:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2022, 11:01 AM

I tested on x86-64 ubuntu 22 and confirmed it builds.

This revision is now accepted and ready to land.Aug 15 2022, 11:01 AM
This revision was landed with ongoing or failed builds.Aug 15 2022, 2:03 PM
This revision was automatically updated to reflect the committed changes.
xbolva00 added inline comments.
llvm/utils/release/test-release.sh
38

Any reason why off by default?

It would be great to have it in llvm-16

rafauler added inline comments.Nov 1 2022, 11:43 AM
llvm/utils/release/test-release.sh
38

We can make it on by default if the target is x86-64 or AArch64 linux. It isn't really tested on other platforms.

xbolva00 added inline comments.Nov 1 2022, 11:52 AM
llvm/utils/release/test-release.sh
38

Yes, please.

We would like to use it but it more easier if we dont have to build it.