Create a separate variable for branch value and derive the value from PV
so AUH is able to upgrade the recipe.

Release Notes:
https://github.com/oneapi-src/oneDNN/releases/tag/v3.4

Signed-off-by: Yogesh Tyagi <[email protected]>
---
 .../recipes-core/dnn/{onednn_3.3.4.bb => onednn_3.4.bb}     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename dynamic-layers/clang-layer/recipes-core/dnn/{onednn_3.3.4.bb => 
onednn_3.4.bb} (90%)

diff --git a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.3.4.bb 
b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.4.bb
similarity index 90%
rename from dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.3.4.bb
rename to dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.4.bb
index 1b89aa06..afea70df 100644
--- a/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.3.4.bb
+++ b/dynamic-layers/clang-layer/recipes-core/dnn/onednn_3.4.bb
@@ -12,9 +12,11 @@ SECTION = "lib"
 
 inherit pkgconfig cmake ptest
 
+DNN_BRANCH = "rls-v${@'.'.join(d.getVar('PV').split('.')[0:2])}"
+
 S = "${WORKDIR}/git"
-SRCREV = "f240e12a29cff8ec1f37e5907971aa4315d30f1e"
-SRC_URI = 
"git://github.com/oneapi-src/oneDNN.git;branch=rls-v3.3;protocol=https \
+SRCREV = "ecd7fb6d5a0df6503d1691c1754a684b9c769c16"
+SRC_URI = 
"git://github.com/oneapi-src/oneDNN.git;branch=${DNN_BRANCH};protocol=https \
            file://run-ptest \
            "
 
-- 
2.34.1

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

Reply via email to