diff options
author | Ed Maste <emaste@freebsd.org> | 2014-05-07 12:52:08 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-05-07 12:52:08 +0000 |
commit | d010f9a8a510c3562b72890e80d8490d8db69126 (patch) | |
tree | ba12b83f1eb15024f580c5ea9bd25521017ee26b /llvm/lib/Target/Sparc | |
parent | da706022220b5cc8c90f7f5a4621cdd01f21c459 (diff) | |
download | bcm5719-llvm-d010f9a8a510c3562b72890e80d8490d8db69126.tar.gz bcm5719-llvm-d010f9a8a510c3562b72890e80d8490d8db69126.zip |
If CMake finds a python interpreter, use it
The FreeBSD package building cluster installs e.g. 'python2.7', but no
plain 'python' to avoid version-related issues.
CMake's FindPythonInterp locates an interpreter with such a name and
provides it in the PYTHON_EXECUTABLE variable. Use that if it's set,
falling back to the original '/usr/bin/env python' otherwise.
This is a missing part of LLDB commit r207122.
Patch by Brooks Davis in FreeBSD ports commit r353052
llvm-svn: 208204
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions