[Lldb-commits] [lldb] [lldb][docs] Update instructions to build standalone (PR #137383)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 25 12:01:23 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Chelsea Cassanova (chelcassanova)
<details>
<summary>Changes</summary>
The instructions to build LLDB standalone contain a CMake configure step to build LLVM standalone. This configure step needs to also have the CMake build type in order to work.
---
Full diff: https://github.com/llvm/llvm-project/pull/137383.diff
1 Files Affected:
- (modified) lldb/docs/resources/build.rst (+1)
``````````diff
diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst
index e59dcc1972418..53ad078ad437e 100644
--- a/lldb/docs/resources/build.rst
+++ b/lldb/docs/resources/build.rst
@@ -210,6 +210,7 @@ Clang. Then we build the ``ALL`` target with ninja:
::
$ cmake -B /path/to/llvm-build -G Ninja \
+ -DCMAKE_BUILD_TYPE=[<build type>] \
-DLLVM_ENABLE_PROJECTS=clang \
[<more cmake options>] /path/to/llvm-project/llvm
$ ninja
``````````
</details>
https://github.com/llvm/llvm-project/pull/137383
More information about the lldb-commits
mailing list