diff options
author | Mark de Wever <koraq@xs4all.nl> | 2024-03-11 17:45:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 17:45:48 +0100 |
commit | 9a9aa41dea83039154601082b1aa2c56e35a5a17 (patch) | |
tree | 2c92cde15e22898ef40b71fea449e1cc28d29b5c /lldb | |
parent | 81e20472a0c5a4a8edc5ec38dc345d580681af81 (diff) | |
download | llvm-9a9aa41dea83039154601082b1aa2c56e35a5a17.zip llvm-9a9aa41dea83039154601082b1aa2c56e35a5a17.tar.gz llvm-9a9aa41dea83039154601082b1aa2c56e35a5a17.tar.bz2 |
[LLDB][doc] Updates build instructions. (#84630)
Recently building libc++ requires building libunwind too. This updates
the LLDB instructions.
I noticed this recently and it was separately filed as
https://github.com/llvm/llvm-project/issues/84053
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/docs/resources/build.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst index 995273a..09d3d15 100644 --- a/lldb/docs/resources/build.rst +++ b/lldb/docs/resources/build.rst @@ -331,7 +331,7 @@ macOS ^^^^^ On macOS the LLDB test suite requires libc++. Either add -``LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"`` or disable the test suite with +``LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind"`` or disable the test suite with ``LLDB_INCLUDE_TESTS=OFF``. Further useful options: * ``LLDB_BUILD_FRAMEWORK:BOOL``: Builds the LLDB.framework. @@ -370,7 +370,7 @@ 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;lldb" \ - -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \ + -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \ llvm-project/llvm $ DESTDIR=/path/to/lldb-install ninja -C /path/to/lldb-build check-lldb install-distribution @@ -386,7 +386,7 @@ 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" \ - -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \ + -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \ llvm-project/llvm $ ninja -C /path/to/llvm-build |