Skip to contentSkip to conversation

open-cl: stop using "virtual/" in RPROVIDES

PATCH In review [email protected] 2 participants 2 messages Jan 17, 2024 – Jan 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 open-cl: stop using "virtual/" in RPROVIDES

From: Simone Weiß <[email protected]>

For RPROVIDES and RDEPENDS the string "/virtual" holds no special meaning and hence packages should avoid the use of "virtual/" there. Update it for opencl to the suggested alternative "-virtual". See also the discussion on the yocto docs mailing list:
https://lists.yoctoproject.org/g/docs/message/1785

---
 meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb                | 2 +-
 meta-oe/recipes-core/opencl/opencl-icd-loader_2023.12.14.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb +1 -1
index 93fac969c..d43ea281a 100644
@@ -15,6 +15,6 @@ inherit autotools
 
 DEPENDS = "ruby-native"
 PROVIDES = "virtual/opencl-icd"
-RPROVIDES:${PN} = "virtual/opencl-icd"
+RPROVIDES:${PN} = "virtual-opencl-icd"
 
 BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-core/opencl/opencl-icd-loader_2023.12.14.bb +1 -1
index 6bf01a248..146ec6e47 100644
@@ -9,7 +9,7 @@ inherit pkgconfig cmake
 DEPENDS += "opencl-headers"
 
 PROVIDES = "virtual/opencl-icd"
-RPROVIDES:${PN} = "virtual/opencl-icd"
+RPROVIDES:${PN} = "virtual-opencl-icd"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.39.2
#1 lore raw

I have staged a similar patch already in master-next
https://patchwork.yoctoproject.org/project/oe/patch/[email protected]/

Quoted 52 lines · Simone Weiß

From: Simone Weiß <[email protected]>

For RPROVIDES and RDEPENDS the string "/virtual" holds no special meaning and hence packages should avoid the use of "virtual/" there. Update it for opencl to the suggested alternative "-virtual". See also the discussion on the yocto docs mailing list:
https://lists.yoctoproject.org/g/docs/message/1785

---
 meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb                | 2 +-
 meta-oe/recipes-core/opencl/opencl-icd-loader_2023.12.14.bb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb +1 -1
index 93fac969c..d43ea281a 100644
@@ -15,6 +15,6 @@ inherit autotools
 
 DEPENDS = "ruby-native"
 PROVIDES = "virtual/opencl-icd"
-RPROVIDES:${PN} = "virtual/opencl-icd"
+RPROVIDES:${PN} = "virtual-opencl-icd"
 
 BBCLASSEXTEND = "native nativesdk"
meta-oe/recipes-core/opencl/opencl-icd-loader_2023.12.14.bb +1 -2
index 6bf01a248..146ec6e47 100644
@@ -9,7 +9,7 @@ inherit pkgconfig cmake
 DEPENDS += "opencl-headers"
 
 PROVIDES = "virtual/opencl-icd"
-RPROVIDES:${PN} = "virtual/opencl-icd"
+RPROVIDES:${PN} = "virtual-opencl-icd"
 
 S = "${WORKDIR}/git"
 
--

2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#108339): https://lists.openembedded.org/g/openembedded-devel/message/108339
Mute This Topic: https://lists.openembedded.org/mt/103794862/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-