Message ID | 20230309081036.3179583-2-zboszor@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe,1/3] opencl-icd-loader: Add RPROVIDES:${PN} = "virtual/opencl-icd" | expand |
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 250cb6883..b1980e368 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"
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 <zboszor@gmail.com> --- meta-oe/recipes-core/opencl/ocl-icd_2.3.1.bb | 2 ++ 1 file changed, 2 insertions(+)