[Lldb-commits] [lldb] [lldb][docs] Update instructions to build standalone (PR #137383)
Chelsea Cassanova via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 25 12:00:48 PDT 2025
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/137383
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.
>From c12f01f83d6849023635fd9c618eeb5159dc2252 Mon Sep 17 00:00:00 2001
From: Chelsea Cassanova <chelsea_cassanova at apple.com>
Date: Fri, 25 Apr 2025 11:57:30 -0700
Subject: [PATCH] [lldb][docs] Update instructions to build standalone
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.
---
lldb/docs/resources/build.rst | 1 +
1 file changed, 1 insertion(+)
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
More information about the lldb-commits
mailing list