forked from OSchip/llvm-project
1c1a810558
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 |
||
---|---|---|
.. | ||
async | ||
atomic | ||
cl_khr_global_int32_base_atomics | ||
cl_khr_global_int32_extended_atomics | ||
cl_khr_int64_base_atomics | ||
cl_khr_int64_extended_atomics | ||
cl_khr_local_int32_base_atomics | ||
cl_khr_local_int32_extended_atomics | ||
common | ||
geometric | ||
integer | ||
math | ||
misc | ||
relational | ||
shared | ||
workitem | ||
SOURCES | ||
atom_int32_binary.inc | ||
clc_unary.inc | ||
clcmacro.h | ||
gen_convert.py | ||
subnormal_config.cl | ||
subnormal_disable.ll | ||
subnormal_helper_func.ll | ||
subnormal_use_default.ll |