diff options
| author | Ed Maste <emaste@freebsd.org> | 2014-04-24 16:18:21 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2014-04-24 16:18:21 +0000 |
| commit | 97b9dfaa3d8194b16c944e2cdb203d868faab3c4 (patch) | |
| tree | 3fbb7b6a77f8e2803f883d22ef7454361b451aa7 /llvm/lib/Transforms/Utils/Local.cpp | |
| parent | 81ea601b54a45f7eb636d34465fa8ea19582c6ed (diff) | |
| download | llvm-97b9dfaa3d8194b16c944e2cdb203d868faab3c4.zip llvm-97b9dfaa3d8194b16c944e2cdb203d868faab3c4.tar.gz llvm-97b9dfaa3d8194b16c944e2cdb203d868faab3c4.tar.bz2 | |
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.
Patch by Brooks Davis in FreeBSD ports commit r352012
llvm-svn: 207122
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions
