[PATCH] D136664: [CMake] Support building crt with the bootstrapping build

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 12:05:30 PDT 2022


smeenai accepted this revision.
smeenai added a comment.
This revision is now accepted and ready to land.

In D136664#3884796 <https://reviews.llvm.org/D136664#3884796>, @phosek wrote:

> In D136664#3882989 <https://reviews.llvm.org/D136664#3882989>, @smeenai wrote:
>
>> I might be missing it, but I don't see `crt` depending on `builtins` (or vice versa). If there is actually no dep, could we build them together in a single configure, instead of needing to add another one for crt? If there is a dep and I missed it, then this LGTM.
>
> There is no dependency because `crt` and `builtins` aren't dependent on each other. We could build them in a single configure, but we would another top level `CMakeLists.txt`. Do you have any suggestions for where that should live?

Sorry, this fell off my radar. This is fine as-is; avoiding the extra configure could potentially be nice for build times, but we can address that later if it's actually an issue. I don't have a great idea for the placement of the combined builtins+crt CMakeLists.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136664



More information about the llvm-commits mailing list