open-cl: stop using "virtual/" in RPROVIDES
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
@@ -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
@@ -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
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/1785Signed-off-by Simone Weiß <[email protected]>--- 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@@ -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@@ -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]]
-=-=-=-=-=-=-=-=-=-=-=-