From 812f7795c3a007d49e2897dbb9f7198bd7e9fb40 Mon Sep 17 00:00:00 2001 From: Zoltán Böszörményi Date: Thu, 9 Mar 2023 09:10:35 +0100 Subject: ocl-icd: Add PROVIDES and RPROVIDES for virtual/opencl-icd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some programs dlopen libOpenCL.so.1, they use RDEPENDS. This will allow selecting between ocl-icd and opencl-icd-loader. Signed-off-by: Zoltán Böszörményi Signed-off-by: Khem Raj --- meta-oe/recipes-core/opencl/ocl-icd_2.3.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-core/opencl/ocl-icd_2.3.1.bb b/meta-oe/recipes-core/opencl/ocl-icd_2.3.1.bb index 250cb6883b..b1980e3682 100644 --- a/meta-oe/recipes-core/opencl/ocl-icd_2.3.1.bb +++ b/meta-oe/recipes-core/opencl/ocl-icd_2.3.1.bb @@ -14,5 +14,7 @@ S = "${WORKDIR}/git" inherit autotools DEPENDS = "ruby-native" +PROVIDES = "virtual/opencl-icd" +RPROVIDES:${PN} = "virtual/opencl-icd" BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf