[Lldb-commits] [PATCH] D108053: [lldb] skip host build for lldb_tblgen with LLDB_TABLEGEN_EXE set

Manoj Gupta via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 13 13:38:18 PDT 2021


manojgupta added a comment.

This is a local patch we have been carrying in Chrome OS.
What we do to cross compile lldb-server:

1. Create host build to build tools like llvm-tblgen, clang-tblgen, lldb-tblgen
2. Cross compile llvm and clang libraries using the just build *tblgen.
3. Cross compile lldb by setting the path to pre-cross compiled libraries and *tblgen binaries from step 1.

Without this patch, cross compiling lldb-server start yet another host build just to build lldb-tblgen which we want to avoid.
Also see https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2851114/12/dev-util/lldb-server/lldb-server-12.0_pre416183.ebuild


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108053



More information about the lldb-commits mailing list