[PATCH] D141572: [C++] [Coroutines] Deprecates the '-fcoroutines-ts' flag

Chuanqi Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 15 18:41:49 PST 2023


ChuanqiXu added a comment.

In D141572#4050758 <https://reviews.llvm.org/D141572#4050758>, @philnik wrote:

> In D141572#4050492 <https://reviews.llvm.org/D141572#4050492>, @ChuanqiXu wrote:
>
>> @philnik when I run `ninja libcxx-generate-files` locally, it says `ninja: error: unknown target 'libcxx-generate-files'`. The following off is my configuring command:
>>
>>   cmake -G Ninja -S llvm -B build_libcxx_modules -DLLVM_ENABLE_PROJECTS="clang"  -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" -DCMAKE_BUILD_TYPE=Release
>>
>> Do you know if anything goes wrong?
>
> It's probably because you're using the bootstrapping build. Since this invokes another CMake command internally to build libc++, the targets aren't available. It should work with `cmake -G Ninja -S runtimes -B <...> -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"`.

Got it. It fixed my problem.


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

https://reviews.llvm.org/D141572



More information about the cfe-commits mailing list