diff options
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" |
