diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2023-08-03 09:44:39 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-08-03 11:51:33 +0800 |
commit | 711eee2b8e9a9bed92eaf95398076e35310a5d76 (patch) | |
tree | 774cb164f9f7848c464c6b0c85dc8958ec4a2e9c /dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc | |
parent | efd8310cbed3b4dc8db1b24bee09003186bf66d8 (diff) | |
download | meta-intel-711eee2b8e9a9bed92eaf95398076e35310a5d76.tar.gz |
opencl-clang: move common code to inc
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.inc | 13 |
1 files changed, 13 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 index 061ecbba..7c8c2513 100644 --- a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang.inc | |||
@@ -19,4 +19,17 @@ DEPENDS:append:class-target = " opencl-clang-native" | |||
19 | COMPATIBLE_HOST = '(x86_64).*-linux' | 19 | COMPATIBLE_HOST = '(x86_64).*-linux' |
20 | COMPATIBLE_HOST:libc-musl = "null" | 20 | COMPATIBLE_HOST:libc-musl = "null" |
21 | 21 | ||
22 | DEPENDS += " spirv-llvm-translator" | ||
23 | |||
24 | EXTRA_OECMAKE += "\ | ||
25 | -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | ||
26 | -DCMAKE_SKIP_RPATH=TRUE \ | ||
27 | -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \ | ||
28 | " | ||
29 | |||
30 | do_install:append:class-native() { | ||
31 | install -d ${D}${bindir} | ||
32 | install -m 0755 ${B}/bin/linux_resource_linker ${D}${bindir}/ | ||
33 | } | ||
34 | |||
22 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |