Author: Po-yao Chang Date: 2024-02-11T09:36:59+08:00 New Revision: d70b1c1206d93b5cdf31fa330d5717eb73e8794a
URL: https://github.com/llvm/llvm-project/commit/d70b1c1206d93b5cdf31fa330d5717eb73e8794a DIFF: https://github.com/llvm/llvm-project/commit/d70b1c1206d93b5cdf31fa330d5717eb73e8794a.diff LOG: [LLDB][Docs] Replace LLDB_RELOCATABLE_PYTHON with LLDB_EMBED_PYTHON_HOME (#81310) LLDB_RELOCATABLE_PYTHON was removed in LLVM 11 (https://github.com/llvm/llvm-project/commit/3ec3f62f0a0b1ac13230922c91ffc988c1b1e8d5). Added: Modified: lldb/docs/resources/build.rst Removed: ################################################################################ diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst index 0ccfef32a601e1..55fe73c52f61aa 100644 --- a/lldb/docs/resources/build.rst +++ b/lldb/docs/resources/build.rst @@ -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 diff erent machine where Python will be in a - diff erent location, setting ``LLDB_RELOCATABLE_PYTHON`` to 1 will cause + diff erent 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). _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits