We have to upstream SPIR-V buit-ins declarations (enabled by https://github.com/intel/llvm/pull/1384 ) to llorg. Otherwise we can't compile any SYCL sample using our SYCL headers and llorg clang:
.../build/bin/../include/sycl/CL/__spirv/spirv_ops.hpp:26:2: error: "SPIR-V built-ins are not available. Please set -fdeclare-spirv-builtins flag."
#error \
^
We have to upstream SPIR-V buit-ins declarations (enabled by https://github.com/intel/llvm/pull/1384 ) to llorg. Otherwise we can't compile any SYCL sample using our SYCL headers and llorg clang: