This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Get rid of helper CMake variables for Python
ClosedPublic

Authored by JDevlieghere on Aug 14 2020, 9:31 AM.

Details

Reviewers
mgorny
labath
Group Reviewers
Restricted Project
Commits
rG75966ee241a2: [lldb] Get rid of helper CMake variables for Python
Summary

This patch is basically just a big sed to update the variables:

s/PYTHON_LIBRARIES/Python3_LIBRARIES/g 
s/PYTHON_INCLUDE_DIRS/Python3_INCLUDE_DIRS/g
s/PYTHON_EXECUTABLE/Python3_EXECUTABLE/g 
s/PYTHON_RPATH/Python3_RPATH/g

I've also renamed the CMake module to better express its purpose and for consistency with FindLuaAndSwig.

Diff Detail

Event Timeline

JDevlieghere requested review of this revision.Aug 14 2020, 9:31 AM
JDevlieghere created this revision.
labath accepted this revision.Aug 17 2020, 1:20 AM
This revision is now accepted and ready to land.Aug 17 2020, 1:20 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2020, 8:48 AM