dunfell has a change in cmake class that forces cmake to use relative
RPATHs but when this recipe is used with zeus, we'd need to explicitly
make sure that binaries don't have absolute paths.

Signed-off-by: Anuj Mittal <[email protected]>
---
 dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb 
b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb
index 8ad98c90..bf452890 100644
--- a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb
+++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_1.4.bb
@@ -35,6 +35,7 @@ EXTRA_OECMAKE += " \
                    -DDNNL_BUILD_TESTS=ON \
                    -DDNNL_CPU_RUNTIME=OMP \
                    -DDNNL_ARCH_OPT_FLAGS="" \
+                   -DCMAKE_SKIP_RPATH=ON \
                    "
 
 PACKAGECONFIG ??= ""
-- 
2.25.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6510): 
https://lists.yoctoproject.org/g/meta-intel/message/6510
Mute This Topic: https://lists.yoctoproject.org/mt/73234661/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to