This is an archive of the discontinued LLVM Phabricator instance.

[lldb] add fallback for LLDB_PYTHON_RELATIVE_PATH
ClosedPublic

Authored by lawrence_danna on Dec 2 2021, 10:32 AM.

Details

Summary

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.

Diff Detail

Event Timeline

lawrence_danna requested review of this revision.Dec 2 2021, 10:32 AM
lawrence_danna created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2021, 10:32 AM
This revision is now accepted and ready to land.Dec 2 2021, 12:31 PM
clayborg accepted this revision.Dec 2 2021, 8:00 PM

Yep, fixes it for me! Thanks!!

lldb/bindings/python/get-python-config.py
71

Add newline

This revision was automatically updated to reflect the committed changes.
lawrence_danna marked an inline comment as done.Dec 2 2021, 9:14 PM

fixed whitespace and commited