summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2019-03-26 06:08:36 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2019-05-17 11:33:24 (GMT)
commita12a2f03466cdc1d639f3d10a94fc22e0609c67c (patch)
tree8feaa49cb005541af143a602ba40bd153e6bf6c2 /conf
parent613bc1ffc315ac940dc99071bcf13565cd9a40ce (diff)
downloadmeta-intel-a12a2f03466cdc1d639f3d10a94fc22e0609c67c.tar.gz
clang: build Intel common-clang and spirv
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>
Diffstat (limited to 'conf')
-rw-r--r--conf/layer.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 3e75b0f..4cea550 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -20,5 +20,9 @@ LAYERRECOMMENDS_intel = "dpdk intel-qat"
20LAYERVERSION_intel = "5" 20LAYERVERSION_intel = "5"
21LAYERSERIES_COMPAT_intel = "thud warrior" 21LAYERSERIES_COMPAT_intel = "thud warrior"
22 22
23BBFILES_DYNAMIC += " \
24 clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \
25 clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \
26"
23 27
24require ${LAYERDIR}/conf/include/maintainers.inc 28require ${LAYERDIR}/conf/include/maintainers.inc