aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2014-04-24 16:18:21 +0000
committerEd Maste <emaste@freebsd.org>2014-04-24 16:18:21 +0000
commit97b9dfaa3d8194b16c944e2cdb203d868faab3c4 (patch)
tree3fbb7b6a77f8e2803f883d22ef7454361b451aa7 /llvm/lib/Transforms/Utils/Local.cpp
parent81ea601b54a45f7eb636d34465fa8ea19582c6ed (diff)
downloadllvm-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