[all-commits] [llvm/llvm-project] 6c3232: [lldb][Docs] Add simpler "automatic" cross-compile...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Sep 6 00:48:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c3232b5150ffcca8d90ab364272323bb82655fb
      https://github.com/llvm/llvm-project/commit/6c3232b5150ffcca8d90ab364272323bb82655fb
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2023-09-06 (Wed, 06 Sep 2023)

  Changed paths:
    M lldb/docs/resources/build.rst

  Log Message:
  -----------
  [lldb][Docs] Add simpler "automatic" cross-compile option to build docs (#65311)

The main way I cross build lldb is to point CMake at an existing host
build to get the native tablegen tools. This is what we had documented
before.

There is another option where you start from scratch and the host tools
are built for you. This patch documents that and explains which one to
choose.

Added another arm64 example which uses this. So the frst one is the
"automatic" build and the second is the traditional approach.

For ease of copy paste and understanding, I've kept the full command in
each section and noted the one difference between them.

Along the way I updated some of the preamble to explain the two
approaches and updated some language e.g. removing "just ...". Eveyone's
"just" is different, doubly so when cross-compiling.




More information about the All-commits mailing list