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

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Dec 19 14:02:59 PST 2022


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

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.


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