Install CL/cl_icd.h as its needed by opencl-icd-loader

Signed-off-by: Khem Raj <[email protected]>
---
 meta-oe/recipes-core/opencl/ocl-icd_git.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-core/opencl/ocl-icd_git.bb 
b/meta-oe/recipes-core/opencl/ocl-icd_git.bb
index d14ec53e3d..d91fb4ee5c 100644
--- a/meta-oe/recipes-core/opencl/ocl-icd_git.bb
+++ b/meta-oe/recipes-core/opencl/ocl-icd_git.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=232257bbf7320320725ca9529d3782ab"
 SRC_URI = "git://github.com/OCL-dev/ocl-icd.git;protocol=https"
 
 PV = "2.2.12+git${SRCPV}"
-SRCREV = "af79aebe4649f30dbd711c1bf6fc661eac6e5f01"
+SRCREV = "a9e57b199ff1e8d03fa3e5c53c5544de3dc72fe6"
 
 S = "${WORKDIR}/git"
 
@@ -16,4 +16,9 @@ inherit autotools
 
 DEPENDS = "ruby-native"
 
+
+do_install_append() {
+    install -Dm 0644 ${S}/khronos-headers/CL/cl_icd.h 
${D}${includedir}/CL/cl_icd.h
+}
+
 BBCLASSEXTEND = "native"
-- 
2.28.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#86268): 
https://lists.openembedded.org/g/openembedded-devel/message/86268
Mute This Topic: https://lists.openembedded.org/mt/76142555/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to