[PATCH] D78762: build: use `find_package(Python3)` if available

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 18:20:49 PDT 2020


compnerd marked an inline comment as done.
compnerd added inline comments.


================
Comment at: llvm/CMakeLists.txt:696
+    message(WARNING "Python3 not found, using python2 as a fallback")
+    find_package(Python3 COMPONENTS Interpreter REQUIRED)
+    if(Python2_VERSION VERSION_LESS 2.7)
----------------
smeenai wrote:
> Python2
Yeah, I have that fixed locally, there are 2 instances of it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78762





More information about the llvm-commits mailing list