summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-09-03 09:20:02 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2021-09-03 09:25:01 +0800
commit7cd64cc018d4eed644826076ec3eae3573f24e8f (patch)
tree9867170a012e68657c20d095183ef13d46209390 /dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
parenta6dadb2499dcb5127b8a411db10d2f9ae53fb4d1 (diff)
downloadmeta-intel-7cd64cc018d4eed644826076ec3eae3573f24e8f.tar.gz
opencl-clang: restructure
Restructured recipes, having common code in .inc Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc')
-rw-r--r--dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
new file mode 100644
index 00000000..1d9b4d51
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc
@@ -0,0 +1,24 @@
1SUMMARY = "Common clang is a thin wrapper library around clang"
2DESCRIPTION = "Common clang has OpenCL-oriented API and is capable \
3 to compile OpenCL C kernels to SPIR-V modules."
4
5LICENSE = "NCSA"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=e8a15bf1416762a09ece07e44c79118c"
7
8SRC_URI = "git://github.com/intel/opencl-clang.git;branch=${BRANCH};protocol=https \
9 "
10S = "${WORKDIR}/git"
11
12inherit cmake
13DEPENDS += "clang"
14DEPENDS:append:class-target = " opencl-clang-native"
15
16COMPATIBLE_HOST = '(x86_64).*-linux'
17COMPATIBLE_HOST:libc-musl = "null"
18
19do_install:append:class-native() {
20 install -d ${D}${bindir}
21 install -m 0755 ${B}/linux_linker/linux_resource_linker ${D}${bindir}/
22}
23
24BBCLASSEXTEND = "native nativesdk"