llvm-project/libclc/generic/lib
Aaron Puchert 1c1a810558 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
2020-10-01 22:31:33 +02:00
..
async libclc: Make all built-ins overloadable 2020-08-17 13:55:48 -07:00
atomic atomic: Provide function implementation of atomic_{dec,inc} 2018-06-21 19:27:26 +00:00
cl_khr_global_int32_base_atomics atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
cl_khr_global_int32_extended_atomics atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics implementation 2018-06-21 19:27:33 +00:00
cl_khr_int64_base_atomics
cl_khr_int64_extended_atomics
cl_khr_local_int32_base_atomics atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
cl_khr_local_int32_extended_atomics atom: Consolidate cl_khr_{local,global}_int32_{base,extended}_atomics implementation 2018-06-21 19:27:33 +00:00
common libclc: Add Mesa/SPIR-V target 2020-08-17 14:01:46 -07:00
geometric Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
integer
math libclc: Add a __builtin to let SPIRV targets select between SW and HW FMA 2020-09-16 01:37:22 -04:00
misc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
relational Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
shared Add initial support for half precision builtins 2018-05-17 22:55:30 +00:00
workitem libclc: Make all built-ins overloadable 2020-08-17 13:55:48 -07:00
SOURCES libclc: Move rsqrt implementation to a .cl file 2020-02-09 14:42:09 -05:00
atom_int32_binary.inc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
clc_unary.inc
clcmacro.h
gen_convert.py libclc: Use find_package to find Python 3 and require it 2020-10-01 22:31:33 +02:00
subnormal_config.cl
subnormal_disable.ll
subnormal_helper_func.ll
subnormal_use_default.ll