[Lldb-commits] [PATCH] D115877: [lldb][docs] Update instructions for building libc++
Sylvestre Ledru via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 16 07:51:20 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG427f6e11e68a: [lldb][docs] Update instructions for building libc++ (authored by torarnv, committed by sylvestre.ledru).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115877/new/
https://reviews.llvm.org/D115877
Files:
lldb/docs/resources/build.rst
Index: lldb/docs/resources/build.rst
===================================================================
--- lldb/docs/resources/build.rst
+++ lldb/docs/resources/build.rst
@@ -304,8 +304,8 @@
macOS
^^^^^
-On macOS the LLDB test suite requires libc++. Either add ``libcxx`` to
-``LLVM_ENABLE_PROJECTS`` or disable the test suite with
+On macOS the LLDB test suite requires libc++. Either add
+``LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"`` or disable the test suite with
``LLDB_INCLUDE_TESTS=OFF``. Further useful options:
* ``LLDB_BUILD_FRAMEWORK:BOOL``: Builds the LLDB.framework.
@@ -343,7 +343,8 @@
$ cmake -B /path/to/lldb-build -G Ninja \
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-macOS.cmake \
- -DLLVM_ENABLE_PROJECTS="clang;libcxx;lldb" \
+ -DLLVM_ENABLE_PROJECTS="clang;lldb" \
+ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
llvm-project/llvm
$ DESTDIR=/path/to/lldb-install ninja -C /path/to/lldb-build check-lldb install-distribution
@@ -358,7 +359,8 @@
$ cmake -B /path/to/llvm-build -G Ninja \
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-base.cmake \
- -DLLVM_ENABLE_PROJECTS="clang;libcxx" \
+ -DLLVM_ENABLE_PROJECTS="clang" \
+ -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
llvm-project/llvm
$ ninja -C /path/to/llvm-build
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115877.394882.patch
Type: text/x-patch
Size: 1381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211216/a001064c/attachment.bin>
More information about the lldb-commits
mailing list