commit | 8d5b38da2967bbe23a8e56ef7846277b152bab01 | [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:17:56 2020 -0700 |
tree | 2a864efa6131a38ccf3a09f796c2193744421939 | |
parent | a766f6e73acc835be145a91719b4692b8a7caf3b [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: cd84bfb8142bc7ff3a07a188ffb809f1d86d1fd7