[libc-commits] [PATCH] D140351: [libc] Add support for standalone cross compilation of libc.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Dec 19 15:40:50 PST 2022


sivachandra added a comment.

In D140351#4006142 <https://reviews.llvm.org/D140351#4006142>, @jhuber6 wrote:

> Changing the GPU to be a specific option is fine, less ambiguous for cross compiling reasons. Do we need any special handling of `CMAKE_CXX_COMPILER_TARGET`? That will always be set when using `-DLLVM_ENABLE_RUNTIMES=libc` and prepends `--target=<host>` to all the compilations.

Doing a simple bootstrap host build still works. The cross build is currently broken anyway. I have follow up patches to fix that situation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140351



More information about the libc-commits mailing list