Skip to content

Commit

Permalink
[LLDB][Docs] Replace LLDB_RELOCATABLE_PYTHON with LLDB_EMBED_PYTHON_H…
Browse files Browse the repository at this point in the history
…OME (#81310)

LLDB_RELOCATABLE_PYTHON was removed in LLVM 11
(llvm/llvm-project@3ec3f62).
  • Loading branch information
poyaoc97 authored Feb 11, 2024
1 parent b17348c commit d70b1c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lldb/docs/resources/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,12 @@ are commonly used on Windows.
crash, rather than having to reproduce a failure or use a crash dump.
* ``PYTHON_HOME`` (Required): Path to the folder where the Python distribution
is installed. For example, ``C:\Python35``.
* ``LLDB_RELOCATABLE_PYTHON`` (Default=0): When this is 0, LLDB will bind
* ``LLDB_EMBED_PYTHON_HOME`` (Default=1 on Windows): When this is 1, LLDB will bind
statically to the location specified in the ``PYTHON_HOME`` CMake variable,
ignoring any value of ``PYTHONHOME`` set in the environment. This is most
useful for developers who simply want to run LLDB after they build it. If you
wish to move a build of LLDB to a different machine where Python will be in a
different location, setting ``LLDB_RELOCATABLE_PYTHON`` to 1 will cause
different location, setting ``LLDB_EMBED_PYTHON_HOME`` to 0 will cause
Python to use its default mechanism for finding the python installation at
runtime (looking for installed Pythons, or using the ``PYTHONHOME``
environment variable if it is specified).
Expand Down

0 comments on commit d70b1c1

Please sign in to comment.