[llvm-dev] Preparing BOLT for LLVM monorepo

Mehdi AMINI via llvm-dev llvm-dev at lists.llvm.org
Wed Nov 3 00:04:02 PDT 2021


On Tue, Nov 2, 2021 at 11:37 PM Maksim Panchenko <maks at fb.com> wrote:

> > Making sure things are LLVM coding style, format, etc are pretty
>
> > important to me. flang was a useful pilot here in a lot of ways and some
>
> > of the requests for fixups still don't really seem to have happened so
>
> > making sure that happens before is pretty important to me.
>
>
>
> Following someone's footsteps has its drawbacks too :) Fair enough. We
>
> continue to develop BOLT and have plans for more tight integration with
>
> LLVM, such as sharing the common binary IR. Having a clean and
>
> easy-to-read codebase will be highly beneficial to the community.
>
>
>
> >> We haven't made the final decision on including BOLT in
>
> >> LLVM_ALL_PROJECTS, but we are ready to make BOLT the default project in
>
> >> the initial merge commit. Currently, we do not support building on
>
> >> Windows; thus, the project will be automatically disabled with the
>
> >> warning when building on unsupported platforms. As we anticipate the
>
> >
>
> > Oh? Build or work? And why :)
>
>
>
> The Windows build was disabled due to the usage of threads, IIRC.
>
> Although, we don't use them directly, only via the C++11 standard
>
> library. I don't have access to a windows box to test it myself.
>
Have you folks been trying to use the threading APIs exposed by libSupport?
They are supposed to work on Windows as well (at least I think lld makes
use it these and works on Windows)


If the
>
> build issues are resolved, I don't see why BOLT can't be used to
>
> optimize ELF binaries on windows.
>
>
>
> Thanks!
>
> Maksim
>
>
>
> On 11/2/21, 3:15 PM, "Eric Christopher" <echristo at gmail.com> wrote:
>
>
>
> Hi Maksim,
>
>
>
> I think this sounds great in general.
>
>
>
> Making sure things are LLVM coding style, format, etc are pretty important
> to me. flang was a useful pilot here in a lot of ways and some of the
> requests for fixups still don't really seem to have happened so making sure
> that happens before is pretty important to me.
>
>
>
> One inline question:
>
>
>
> We haven't made the final decision on including BOLT in
>
> LLVM_ALL_PROJECTS, but we are ready to make BOLT the default project in
>
> the initial merge commit. Currently, we do not support building on
>
> Windows; thus, the project will be automatically disabled with the
>
> warning when building on unsupported platforms. As we anticipate the
>
>
>
>
>
> Oh? Build or work? And why :)
>
>
>
> Thanks and good luck!
>
>
>
> -eric
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211103/c43711cf/attachment.html>


More information about the llvm-dev mailing list