From a12a2f03466cdc1d639f3d10a94fc22e0609c67c Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Tue, 26 Mar 2019 14:08:36 +0800 Subject: 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 --- conf/layer.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'conf') 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" LAYERVERSION_intel = "5" LAYERSERIES_COMPAT_intel = "thud warrior" +BBFILES_DYNAMIC += " \ + clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \ + clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bbappend \ +" require ${LAYERDIR}/conf/include/maintainers.inc -- cgit v1.2.3-54-g00ecf