[Lldb-commits] [PATCH] D64812: [CMake] Fail when Python interpreter doesn't match Python libraries version

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 16 11:57:10 PDT 2019


mgorny added inline comments.


================
Comment at: lldb/trunk/cmake/modules/LLDBConfig.cmake:197
+    find_package(PythonInterp REQUIRED)
+    find_package(PythonLibs REQUIRED)
+  endif()
----------------
As a small optimization, I think you can prepend major+minor version into `Python_ADDITIONAL_VERSIONS`. Then it will prefer finding the same libs as interpreter.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64812/new/

https://reviews.llvm.org/D64812





More information about the lldb-commits mailing list