mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00

Common clang is a thin wrapper library around clang. Common clang has OpenCL-oriented API and is capable to compile OpenCL C kernels to SPIR-V modules. This adds a bbappend to clang recipe from meta-clang to build the necessary components and moves it to dynamic layers so it's built only when clang-layer is included. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
17 lines
1.3 KiB
Plaintext
17 lines
1.3 KiB
Plaintext
FILESEXTRAPATHS_prepend_intel-x86-common := "${THISDIR}/files:"
|
|
|
|
SRC_URI_append_intel-x86-common = " \
|
|
git://github.com/intel/opencl-clang.git;protocol=https;branch=ocl-open-80;destsuffix=git/llvm/projects/opencl-clang;name=opencl-clang \
|
|
git://github.com/KhronosGroup/SPIRV-LLVM-Translator.git;protocol=https;branch=llvm_release_80;destsuffix=git/llvm/projects/llvm-spirv;name=spirv \
|
|
file://0001-point-to-correct-clang.patch;patchdir=llvm/projects/opencl-clang \
|
|
file://0001-OpenCL-Change-type-of-block-pointer-for-OpenCL.patch;patchdir=clang \
|
|
file://0002-OpenCL-Simplify-LLVM-IR-generated-for-OpenCL-blocks.patch;patchdir=clang \
|
|
file://0003-OpenCL-Fix-assertion-due-to-blocks.patch;patchdir=clang \
|
|
file://0001-dont-export-targets-for-binaries.patch \
|
|
file://0001-Update-LowerOpenCL-pass-to-handle-new-blocks-represn.patch;patchdir=llvm/projects/llvm-spirv \
|
|
"
|
|
|
|
SRCREV_opencl-clang = "daf5e4dd718477ae8cf89a283c653939d9182f15"
|
|
SRCREV_spirv = "bd0f28fb92061d49c0f120b4dac3fd8956006745"
|
|
|