[PATCH] D64894: [CMake] Don't set Python_ADDITIONAL_VERSIONS

Christian Biesinger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 11:52:54 PDT 2019


cbiesinger added a comment.

Preferring Python 3, if present, was actually intentional on my behalf on the basis that we should use the newer Python if we can. But I did not realize this would break MacOS :( (and, it sounds like, any system where you have a python 3 binary but not devel package?)

I can confirm that -DPYTHON_EXECUTABLE=/usr/bin/python3 does work (I only tried with a deleted CMakeCache.txt). It is unfortunate that on most Linux systems we'd still default to Python 2


Repository:
  rL LLVM

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

https://reviews.llvm.org/D64894





More information about the llvm-commits mailing list