This is an archive of the discontinued LLVM Phabricator instance.

Clean up FindPythonInterp and FindPythonLibs usage
AbandonedPublic

Authored by lanza on Jan 16 2019, 7:24 PM.

Details

Reviewers
None
Summary

LLDBStandalone was calling FindPythonInterp with 3.x enabled which
runs into an issue with all threads stuck waiting on Darwin and Linux.
The quick fix is to disable finding python3.x.

While restructuring Python, I figured I'd clean up the
FindPython{Interp,Libs} usage throughout the project.

Event Timeline

lanza created this revision.Jan 16 2019, 7:24 PM
mgorny added inline comments.Jan 16 2019, 11:22 PM
scripts/Python/modules/readline/CMakeLists.txt
1

See https://stackoverflow.com/questions/1242904/finding-python-site-packages-directory-with-cmake

If we can use CMake 3.12, use FindPython. If we can't, use execute_process.

lanza abandoned this revision.Jul 17 2019, 12:11 AM