Since clspv compiler supports C++ for OpenCL add this
compiler mode to the language just the same way as it's
done for OpenCL C.
Note that the use of C++ for OpenCL with clspv at present
requires extra flags: "-cl-std=CLC++" and
"-inline-entry-points".
Fixes#4156
Previously these were all set to use an x86_64 toolchain which clearly
isn't right. This lead to things like uintptr_t being smaller than
void*.
Use the same toolchain and sysroot for the "all architectural features"
as for the rest of the configurations.
This also changes the -target to "gnu" not "android" to match the
new settings.
Move all trunk Arm and AArch64 clangs to GCC 12.2.0 sysroot
This includes trunk, trunk with assertions and trunk with
all architectural features.
A newer sysroot is more likely to have the supporting
features needed for new architectural features in these
trunk builds.
Added clang-13 to OpenCL C and C++ for OpenCL.
Improved compilation speed by using '-fdeclare-opencl-builtins'
on the newer clang versions where applicable.
* Add support for generating SPIR-V assembly from OpenCL C and C++ for OpenCL
* Update cpp_for_opencl.amazon.properties
* Update openclc.amazon.properties
Co-authored-by: Patrick Quist <partouf@gmail.com>