packagegroups: opencl and vulkan utilities
PATCH 1/1 packagegroups: opencl and vulkan utilities
From: Randolph Sapp <[email protected]>
Add package groups for OpenCL and Vulkan related utilities. Conditionally install them in tisdk-default-image if we enable the required distro features.
Currently these package groups consist of clinfo and vulkaninfo respectively. These are useful tools for checking device extension compatibility and ICD loader functionality.
--- .../recipes-core/images/tisdk-default-image.bb | 2 ++ .../packagegroups/packagegroup-arago-opencl.bb | 13 +++++++++++++ .../packagegroups/packagegroup-arago-vulkan.bb | 13 +++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +2 -0
@@ -17,6 +17,8 @@ IMAGE_INSTALL += "\ ti-test-extras \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','opencl','packagegroup-arago-opencl','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','vulkan','packagegroup-arago-vulkan','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +13 -0
@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful 0penCL packages" +LICENSE = "MIT" +PR = "r0" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "opencl" + +RDEPENDS:${PN} = "\ + clinfo \ +"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +13 -0
@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful Vulkan packages" +LICENSE = "MIT" +PR = "r0" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "vulkan" + +RDEPENDS:${PN} = "\ + vulkan-tools \ +"
Signature · 1 line
2.48.1
Quoted 38 lines · On Wed, Feb 26, 2025 at 02:13:34PM -0600, [email protected] wrote:
From: Randolph Sapp <[email protected]>
Add package groups for OpenCL and Vulkan related utilities. Conditionally install them in tisdk-default-image if we enable the required distro features.
Currently these package groups consist of clinfo and vulkaninfo respectively. These are useful tools for checking device extension compatibility and ICD loader functionality.
Signed-off-by Randolph Sapp <[email protected]>--- .../recipes-core/images/tisdk-default-image.bb | 2 ++ .../packagegroups/packagegroup-arago-opencl.bb | 13 +++++++++++++ .../packagegroups/packagegroup-arago-vulkan.bb | 13 +++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bbmeta-arago-distro/recipes-core/images/tisdk-default-image.bb +2
-0@@ -17,6 +17,8 @@ IMAGE_INSTALL += "\ ti-test-extras \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','opencl','packagegroup-arago-opencl','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','vulkan','packagegroup-arago-vulkan','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 1
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful 0penCL packages"
SUMMARY is required these days.
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 3
Quoted 2 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +2
-0+LICENSE = "MIT" +PR = "r0"
No explicit PR is needed these days.
Quoted 15 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +9
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "opencl" + +RDEPENDS:${PN} = "\ + clinfo \ +"meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +0
-0
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb line 3
Quoted 3 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +3
-0@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful Vulkan packages" +LICENSE = "MIT" +PR = "r0"
Same 2 comments as above.
Quoted 11 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +9
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "vulkan" + +RDEPENDS:${PN} = "\ + vulkan-tools \ +"Signature · 1 line
2.48.1
Quoted 34 lines · Denys Dmytriyenko
Quoted 33 lines · On Wed, Feb 26, 2025 at 02:13:34PM -0600, [email protected] wrote:
From: Randolph Sapp <[email protected]>
Add package groups for OpenCL and Vulkan related utilities. Conditionally install them in tisdk-default-image if we enable the required distro features.
Currently these package groups consist of clinfo and vulkaninfo respectively. These are useful tools for checking device extension compatibility and ICD loader functionality.
Signed-off-by Randolph Sapp <[email protected]>--- .../recipes-core/images/tisdk-default-image.bb | 2 ++ .../packagegroups/packagegroup-arago-opencl.bb | 13 +++++++++++++ .../packagegroups/packagegroup-arago-vulkan.bb | 13 +++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bbmeta-arago-distro/recipes-core/images/tisdk-default-image.bb +2
-0@@ -17,6 +17,8 @@ IMAGE_INSTALL += "\ ti-test-extras \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','opencl','packagegroup-arago-opencl','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','vulkan','packagegroup-arago-vulkan','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb +0
-0
Quoted 11 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 1
Quoted 6 lines
new file mode 100644
index 00000000..49b6efc8meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful 0penCL packages"SUMMARY is required these days.
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0+LICENSE = "MIT"
Verifying against oe-core I see that LICENSE is no longer being populated as well. Do you want me to drop that or not?
Quoted 47 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 3
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0+PR = "r0"No explicit PR is needed these days.
Quoted 15 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +9
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "opencl" + +RDEPENDS:${PN} = "\ + clinfo \ +"meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +0
-0meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb line 3
Quoted 3 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +3
-0@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful Vulkan packages" +LICENSE = "MIT" +PR = "r0"Same 2 comments as above.
Quoted 11 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +9
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "vulkan" + +RDEPENDS:${PN} = "\ + vulkan-tools \ +"Signature · 1 line
2.48.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15922): https://lists.yoctoproject.org/g/meta-arago/message/15922
Mute This Topic: https://lists.yoctoproject.org/mt/111403398/7094281
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 45 lines · Randolph Sapp
Quoted 44 lines · Denys Dmytriyenko
Quoted 38 lines · On Wed, Feb 26, 2025 at 02:13:34PM -0600, [email protected] wrote:
From: Randolph Sapp <[email protected]>
Add package groups for OpenCL and Vulkan related utilities. Conditionally install them in tisdk-default-image if we enable the required distro features.
Currently these package groups consist of clinfo and vulkaninfo respectively. These are useful tools for checking device extension compatibility and ICD loader functionality.
Signed-off-by Randolph Sapp <[email protected]>--- .../recipes-core/images/tisdk-default-image.bb | 2 ++ .../packagegroups/packagegroup-arago-opencl.bb | 13 +++++++++++++ .../packagegroups/packagegroup-arago-vulkan.bb | 13 +++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb create mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bbmeta-arago-distro/recipes-core/images/tisdk-default-image.bb +2
-0@@ -17,6 +17,8 @@ IMAGE_INSTALL += "\ ti-test-extras \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','opencl','packagegroup-arago-opencl','',d)} \ + ${@bb.utils.contains('DISTRO_FEATURES','vulkan','packagegroup-arago-vulkan','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +0
-0meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 1
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful 0penCL packages"SUMMARY is required these days.
Quoted 4 lines
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 2
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0+LICENSE = "MIT"Verifying against oe-core I see that LICENSE is no longer being populated as well. Do you want me to drop that or not?
packagegroup.bbclass already weakly sets LICENSE to MIT, so unless you set a different license, you don't need it.
Quoted 6 lines
Quoted 6 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb line 3
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0+PR = "r0"No explicit PR is needed these days.
Quoted 1 line
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +1
-0+PACKAGE_ARCH = "${MACHINE_ARCH}"
Also, I was wondering why you set these packagroups as machine-specific.
Quoted 31 lines
Quoted 31 lines
Quoted 13 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-opencl.bb new file +7
-0+inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "opencl" + +RDEPENDS:${PN} = "\ + clinfo \ +"meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +0
-0meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb line 3
Quoted 3 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +3
-0@@ -0,0 +1,13 @@ +DESCRIPTION = "Group containing various useful Vulkan packages" +LICENSE = "MIT" +PR = "r0"Same 2 comments as above.
Quoted 11 lines
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-vulkan.bb new file +9
-0+PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit packagegroup features_check + +REQUIRED_DISTRO_FEATURES = "vulkan" + +RDEPENDS:${PN} = "\ + vulkan-tools \ +"Signature · 1 line
2.48.1