[PATCH] D120308: [compiler-rt][builtins] Fix CMake builtin target flag

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 22 01:04:43 PST 2022


mstorsjo added a comment.

In D120308#3337077 <https://reviews.llvm.org/D120308#3337077>, @thieta wrote:

> In D120308#3337068 <https://reviews.llvm.org/D120308#3337068>, @mstorsjo wrote:
>
>> Other than that, I'm not entirely sure I understand exactly how you configure your build, but this change should be fine regardless.
>
> `cmake -GNinja -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_ENABLE_RUNTIMES="compiler-rt" ..\llvm`
>
> and then
>
> `ninja builtins`
>
> before this change it didn't build the runtime library - after this change it does.

Hmm, ok. This is in an environment that defaults to a LLVM_DEFAULT_TRIPLE of `*-windows-msvc` I presume, but at what point within the runtimes setup does it switch to calling with the `clang-cl` frontend instead of the regular `clang`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120308



More information about the llvm-commits mailing list