Build opencl-clang with llvm-13 and point to latest from ocl-open-130
branch.

Signed-off-by: Naveen Saini <[email protected]>
---
 .../opencl-clang/opencl-clang_13.0.0.bb           | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 
dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb

diff --git 
a/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb 
b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb
new file mode 100644
index 00000000..7ca7895e
--- /dev/null
+++ 
b/dynamic-layers/clang-layer/recipes-opencl/opencl-clang/opencl-clang_13.0.0.bb
@@ -0,0 +1,15 @@
+require opencl-clang.inc
+
+SRC_URI:append = " file://0001-don-t-redefine-LLVM_TABLEGEN_EXE.patch \
+           "
+SRCREV = "0f36f940b25b8e7661cfaf8a7c11fdbb7d853223"
+
+BRANCH = "ocl-open-130"
+
+DEPENDS += " spirv-llvm-translator"
+
+EXTRA_OECMAKE += "\
+                  -DLLVM_TABLEGEN_EXE=${STAGING_BINDIR_NATIVE}/llvm-tblgen \
+                  -DCMAKE_SKIP_RPATH=TRUE \
+                  -DPREFERRED_LLVM_VERSION=${LLVMVERSION} \
+                  "
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7262): 
https://lists.yoctoproject.org/g/meta-intel/message/7262
Mute This Topic: https://lists.yoctoproject.org/mt/85342491/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to