[Lldb-commits] [lldb] 427f6e1 - [lldb][docs] Update instructions for building libc++

Sylvestre Ledru via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 16 07:51:17 PST 2021


Author: Tor Arne Vestbø
Date: 2021-12-16T16:50:42+01:00
New Revision: 427f6e11e68a2c57c12fe9049a939752d76860be

URL: https://github.com/llvm/llvm-project/commit/427f6e11e68a2c57c12fe9049a939752d76860be
DIFF: https://github.com/llvm/llvm-project/commit/427f6e11e68a2c57c12fe9049a939752d76860be.diff

LOG: [lldb][docs] Update instructions for building libc++

Reviewed By: sylvestre.ledru

Differential Revision: https://reviews.llvm.org/D115877

Added: 
    

Modified: 
    lldb/docs/resources/build.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst
index 13e5dcd3f09c8..aadd57aedf882 100644
--- a/lldb/docs/resources/build.rst
+++ b/lldb/docs/resources/build.rst
@@ -304,8 +304,8 @@ ninja tree.
 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 @@ LLVM <https://llvm.org/docs/BuildingADistribution.html>`_):
 
   $ 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 @@ Build LLDB standalone for development with Xcode:
 
   $ 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
 


        


More information about the lldb-commits mailing list