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_cassan...@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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to