diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2019-03-26 14:08:36 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-05-17 19:33:24 +0800 |
commit | a12a2f03466cdc1d639f3d10a94fc22e0609c67c (patch) | |
tree | 8feaa49cb005541af143a602ba40bd153e6bf6c2 /conf | |
parent | 613bc1ffc315ac940dc99071bcf13565cd9a40ce (diff) | |
download | meta-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.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 3e75b0fe..4cea5500 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -20,5 +20,9 @@ LAYERRECOMMENDS_intel = "dpdk intel-qat" | |||
20 | LAYERVERSION_intel = "5" | 20 | LAYERVERSION_intel = "5" |
21 | LAYERSERIES_COMPAT_intel = "thud warrior" | 21 | LAYERSERIES_COMPAT_intel = "thud warrior" |
22 | 22 | ||
23 | BBFILES_DYNAMIC += " \ | ||
24 | clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \ | ||
25 | clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \ | ||
26 | " | ||
23 | 27 | ||
24 | require ${LAYERDIR}/conf/include/maintainers.inc | 28 | require ${LAYERDIR}/conf/include/maintainers.inc |