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

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 16 11:32:46 PDT 2019


JDevlieghere added a comment.

In D64812#1588030 <https://reviews.llvm.org/D64812#1588030>, @mgorny wrote:

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


If that works in `3.4` I'm happy to go that way!


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