From: Zoltán Böszörményi <[email protected]>

opencl-icd-loader and ocl-icd both provide libOpenCL.so.1
and may conflict when both occur in the dependency chain.

Let the build configuration decide which one is used.

Signed-off-by: Zoltán Böszörményi <[email protected]>
---
 dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.6.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.6.1.bb 
b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.6.1.bb
index ee39f51b..c42c3334 100644
--- a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.6.1.bb
+++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_2.6.1.bb
@@ -35,7 +35,7 @@ EXTRA_OECMAKE += " \
                    "
 
 PACKAGECONFIG ??= "gpu"
-PACKAGECONFIG[gpu] = "-DDNNL_GPU_RUNTIME=OCL, , opencl-headers ocl-icd, 
intel-compute-runtime"
+PACKAGECONFIG[gpu] = "-DDNNL_GPU_RUNTIME=OCL, , opencl-headers 
virtual/opencl-icd, intel-compute-runtime"
 
 do_install:append () {
     install -d ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs
-- 
2.37.1

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

Reply via email to