[Lldb-commits] [PATCH] D85976: [lldb] Get rid of helper CMake variables for Python

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 14 09:31:37 PDT 2020


JDevlieghere created this revision.
JDevlieghere added reviewers: mgorny, labath, LLDB.
JDevlieghere requested review of this revision.
Herald added a subscriber: aheejin.

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`.


https://reviews.llvm.org/D85976

Files:
  lldb/CMakeLists.txt
  lldb/bindings/python/CMakeLists.txt
  lldb/cmake/modules/FindPythonAndSwig.cmake
  lldb/cmake/modules/FindPythonInterpAndLibs.cmake
  lldb/cmake/modules/LLDBConfig.cmake
  lldb/source/API/CMakeLists.txt
  lldb/source/Plugins/ObjectFile/CMakeLists.txt
  lldb/source/Plugins/ScriptInterpreter/None/CMakeLists.txt
  lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
  lldb/test/API/CMakeLists.txt
  lldb/test/API/lit.site.cfg.py.in
  lldb/test/CMakeLists.txt
  lldb/test/Shell/lit.site.cfg.py.in
  lldb/test/Unit/lit.site.cfg.py.in
  lldb/test/lit.site.cfg.py.in
  lldb/tools/intel-features/CMakeLists.txt
  lldb/tools/lldb-test/CMakeLists.txt
  lldb/unittests/API/CMakeLists.txt
  lldb/unittests/Process/Linux/CMakeLists.txt
  lldb/unittests/ScriptInterpreter/Lua/CMakeLists.txt
  lldb/unittests/ScriptInterpreter/Python/CMakeLists.txt
  lldb/utils/lldb-dotest/lldb-dotest.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85976.285671.patch
Type: text/x-patch
Size: 14096 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200814/dc57058b/attachment-0001.bin>


More information about the lldb-commits mailing list