diff options
Diffstat (limited to 'dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_15.0.0.bb')
-rw-r--r-- | dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_15.0.0.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_15.0.0.bb b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_15.0.0.bb new file mode 100644 index 00000000..217158e9 --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_15.0.0.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require opencl-clang.inc | ||
2 | |||
3 | SRCREV = "c78c1f884ffe8b40e1681a90ebde1a919c08ddb1" | ||
4 | |||
5 | BRANCH = "ocl-open-150" | ||
6 | |||
7 | DEPENDS += " spirv-llvm-translator" | ||
8 | |||
9 | EXTRA_OECMAKE += "\ | ||
10 | -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \ | ||
11 | -DCMAKE_SKIP_RPATH=TRUE \ | ||
12 | -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \ | ||
13 | " | ||
14 | |||
15 | do_install:append:class-native() { | ||
16 | install -d ${D}${bindir} | ||
17 | install -m 0755 ${B}/bin/linux_resource_linker ${D}${bindir}/ | ||
18 | } | ||