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

Nikolas Klauser via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 01:46:51 PST 2023


philnik added a comment.

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"`.


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

https://reviews.llvm.org/D141572



More information about the cfe-commits mailing list