This avoids generating RRECOMMENDS settings automatically for
onednn-dev.

This helps with SDK images installing -dev packages, which pull in
optional packages from RRECOMMENDS, which in turn can conflict
with each other.

Most notably, intel-compute-runtime-dev depends on clang15-dev.
This conflicts with llvm-dev and clang-dev.

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

diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.5.3.bb 
b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.5.3.bb
index 3128d36e..ca40a3f3 100644
--- a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.5.3.bb
+++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.5.3.bb
@@ -40,6 +40,8 @@ EXTRA_OECMAKE += " \
 PACKAGECONFIG ??= "gpu"
 PACKAGECONFIG[gpu] = "-DDNNL_GPU_RUNTIME=OCL, , opencl-headers 
virtual/libopencl1, ${OPENCL_BACKENDS}"
 
+RRECOMMENDS:onednn-dev[nodeprrecs] = "1"
+
 do_install:append () {
     install -d ${D}${bindir}/mkl-dnn/tests/benchdnn/inputs
     install -m 0755 ${B}/tests/benchdnn/benchdnn 
${D}${bindir}/mkl-dnn/tests/benchdnn
-- 
2.52.0

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

  • [meta-intel] [PATCH 1/2] one... Zoltan Boszormenyi via lists.yoctoproject.org

Reply via email to