[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:27:09 PDT 2019


mgorny added a comment.

Hmm, I've just looked through CMake docs, and I think a better solution might be:

  find_package(Python COMPONENTS Interpreter Development)

Apparently using separate modules has been deprecated in 3.12, and using a single `FindPython` call guarantees version match.

Of course, this would require changing all the stuff that relies on Python. if you don't have time to fight it, I suppose this is good enough as interim solution.


Repository:
  rLLDB LLDB

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

https://reviews.llvm.org/D64812





More information about the lldb-commits mailing list