[Lldb-commits] [PATCH] D140385: [lldb] Add lldb-server targets to build docs
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 12 04:35:03 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3fa023970daf: [lldb] Add lldb-server targets to build docs (authored by DavidSpickett).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140385/new/
https://reviews.llvm.org/D140385
Files:
lldb/docs/resources/build.rst
Index: lldb/docs/resources/build.rst
===================================================================
--- lldb/docs/resources/build.rst
+++ lldb/docs/resources/build.rst
@@ -169,8 +169,15 @@
subprojects to build in addition to LLVM (for more options see
:ref:`CommonCMakeOptions` and :ref:`CMakeCaches`). Parts of the LLDB test suite
require ``lld``. Add it to the list in order to run all tests. Once CMake is done,
-run ninja to perform the actual build. We pass ``lldb`` here as the target, so
-it only builds what is necessary to run the lldb driver:
+run ninja to perform the actual build.
+
+::
+
+ $ ninja lldb lldb-server
+
+If you only want lldb, or are on a platform where lldb-server is not supported,
+you can pass just ``lldb``. Ninja will only build what is necessary to run the
+lldb driver:
::
@@ -210,7 +217,10 @@
$ cmake -B /path/to/lldb-build -G Ninja \
-DLLVM_DIR=/path/to/llvm-build/lib/cmake/llvm \
[<more cmake options>] /path/to/llvm-project/lldb
- $ ninja lldb
+ $ ninja lldb lldb-server
+
+If you do not require or cannot build ``lldb-server`` on your platform, simply
+remove it from the Ninja command.
.. note::
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140385.488603.patch
Type: text/x-patch
Size: 1184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230112/cf28ba14/attachment.bin>
More information about the lldb-commits
mailing list