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]>
---
 recipes-multimedia/mediasdk/intel-mediasdk_22.4.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-multimedia/mediasdk/intel-mediasdk_22.4.4.bb 
b/recipes-multimedia/mediasdk/intel-mediasdk_22.4.4.bb
index 754c71ea..8f29f0e9 100644
--- a/recipes-multimedia/mediasdk/intel-mediasdk_22.4.4.bb
+++ b/recipes-multimedia/mediasdk/intel-mediasdk_22.4.4.bb
@@ -29,7 +29,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", 
"x11", "dri3", "", d)
 
 PACKAGECONFIG[dri3]    = "-DENABLE_X11_DRI3=ON, -DENABLE_X11_DRI3=OFF"
 PACKAGECONFIG[itt]     = "-DENABLE_ITT=ON, -DENABLE_ITT=OFF, itt"
-PACKAGECONFIG[opencl]  = "-DENABLE_OPENCL=ON, -DENABLE_OPENCL=OFF, ocl-icd 
opencl-clhpp opencl-headers"
+PACKAGECONFIG[opencl]  = "-DENABLE_OPENCL=ON, -DENABLE_OPENCL=OFF, 
virtual/opencl-icd opencl-clhpp opencl-headers"
 PACKAGECONFIG[samples] = "-DBUILD_SAMPLES=ON, -DBUILD_SAMPLES=OFF"
 PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland 
wayland-native"
 
-- 
2.37.1

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

Reply via email to