aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorAaron Puchert <aaronpuchert@alice-dsl.net>2020-10-01 22:31:30 +0200
committerAaron Puchert <aaronpuchert@alice-dsl.net>2020-10-01 22:31:33 +0200
commit1c1a8105580784c96212db1afc097a844740bc69 (patch)
treef3bd9fb5ca982e9e2003e0b2773163f2ce611067 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent73457536ff335a2cbe2381354512e0fcf9d703fd (diff)
downloadllvm-1c1a8105580784c96212db1afc097a844740bc69.zip
llvm-1c1a8105580784c96212db1afc097a844740bc69.tar.gz
llvm-1c1a8105580784c96212db1afc097a844740bc69.tar.bz2
libclc: Use find_package to find Python 3 and require it
The script's shebang wants Python 3, so we use FindPython3. The original code didn't work when an unversioned python was not available. This is explicitly allowed in PEP 394. ("Distributors may choose to set the behavior of the python command as follows: python2, python3, not provide python command, allow python to be configurable by an end user or a system administrator.") Also I think it's actually required, so let the configuration fail if we can't find it. Lastly remove the shebang, since the script is only run via interpreter and doesn't have the executable bit set anyway. Reviewed By: jvesely Differential Revision: https://reviews.llvm.org/D88366
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions