[all-commits] [llvm/llvm-project] 27ca94: [lldb] add fallback for LLDB_PYTHON_RELATIVE_PATH

lawrence-danna-apple via All-commits all-commits at lists.llvm.org
Thu Dec 2 21:14:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 27ca9458012caf8b556ce31fc7aaac571af878d2
      https://github.com/llvm/llvm-project/commit/27ca9458012caf8b556ce31fc7aaac571af878d2
  Author: Lawrence D'Anna <lawrence_danna at apple.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M lldb/bindings/python/get-python-config.py

  Log Message:
  -----------
  [lldb] add fallback for LLDB_PYTHON_RELATIVE_PATH

Some pythons are configured to set platlib somewhere outside of their
sys.prefix.   It's important that we at least use some reasonable
default for LLDB_PYTHON_RELATIVE_PATH even in that case, because
even if the user overrides it on the cmake invocation, cmake will
still be called without the override in order to build tablegen.

Reviewed By: JDevlieghere, clayborg

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




More information about the All-commits mailing list