[PATCH] D108890: Document LLVM_ENABLE_RUNTIMES

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 29 11:28:25 PDT 2021


jdoerfert added a comment.

In D108890#2971330 <https://reviews.llvm.org/D108890#2971330>, @beanz wrote:

> In D108890#2971295 <https://reviews.llvm.org/D108890#2971295>, @sylvestre.ledru wrote:
>
>> Not sure what you mean here? Do you have an example?
>
> The goal of the runtimes build initially was to preserve correct dependency ordering when building. You need the just-built clang to build the builtins libraries, and you need the builtins libraries before you can build any fully linked dynamic libraries or executables. So when you use the runtimes build the build ordering is clang -> compiler-rt builtins only -> everything else.

OpenMP also relies on the just build clang to create the (GPU) device runtimes. That is why our build with offloading support is based on the runtimes and not project.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108890/new/

https://reviews.llvm.org/D108890



More information about the llvm-commits mailing list