[libc-commits] [PATCH] D147350: [libc] Add two more recipes to do a cross build.

Jeff Bailey via Phabricator via libc-commits libc-commits at lists.llvm.org
Sat Apr 1 21:52:41 PDT 2023


jeffbailey added inline comments.


================
Comment at: libc/docs/full_cross_build.rst:103
+should use this recipe if they want to use a different host and target compiler.
+Note that the libc build tools should be in sync with the libc. That is, the
+libc build tools and the libc, both should be built from the same source
----------------
I'd say "MUST" here.  RFC 2119/8174 =)


================
Comment at: libc/docs/full_cross_build.rst:199
+     -DLLVM_LIBC_FULL_BUILD=ON \
+     -DLLVM_RUNTIME_TARGETS=<Your target triple> \
+     -DCMAKE_BUILD_TYPE=Debug
----------------
I'd do this one too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147350



More information about the libc-commits mailing list