commit | 469811ae54551da9b5c889bccbe52963781d8cb2 | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Thu Apr 23 20:46:47 2020 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Sep 22 07:20:53 2020 -0700 |
tree | a14fc310855a62a38c0813dd242f05b52ad6e8ae | |
parent | 5993dbb62283a857227967a7483cafeb479b0f32 [diff] |
build: use `find_package(Python3)` if available This is primarily motivated by the desire to move from Python2 to Python3. `PYTHON_EXECUTABLE` is ambiguous. This explicitly identifies the python interpreter in use. Since the LLVM build seems to be able to completed successfully with python3, use that across the build. The old path aliases `PYTHON_EXECUTABLE` to be treated as Python3. GitOrigin-RevId: c4c3883b00d3a6aa657a5e3e515c90c9ea1f81c6