Skip to contentSkip to conversation

igt-gpu-tools: add new package

PATCH Superseded Arthur She 3 participants 4 messages Jun 19, 2020 – Jun 22, 2020

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Arthur She

author
#0 lore raw

PATCH v3 1/1 igt-gpu-tools: add new package

igt-gpu-tools is a collection of tools for development and testing of the DRM drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools)
This recipe is originally copied from meta-intel and added the following modifications
1. Enable ARM architecture
2. Enable igt-runner and Chamelium
3. Build git HEAD code instead of a specific version
The original recipe in the meta-intel will be removed and replaced by this one to avoid having a duplicate recipe.
It is applicable to be submitted to oe-core, because it provides a core validation functionality that is needed by all providing DRM drivers and not just to a single arch.

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../igt-gpu-tools/igt-gpu-tools_git.bb        | 47 +++++++++++++++++++
 2 files changed, 48 insertions(+)
 create mode 100644 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 6496a48e40..2751375acc 100644
@@ -262,6 +262,7 @@ RECIPE_MAINTAINER_pn-i2c-tools = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER_pn-icecc-create-env = "Joshua Watt <[email protected]>"
 RECIPE_MAINTAINER_pn-icu = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER_pn-ifupdown = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER_pn-igt-gpu-tools = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER_pn-inetutils = "Tom Rini <[email protected]>"
 RECIPE_MAINTAINER_pn-init-ifupdown = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER_pn-init-system-helpers = "Anuj Mittal <[email protected]>"
meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw
Quoted 15 lines · Arthur She

igt-gpu-tools is a collection of tools for development and testing of the DRM
drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools)
This recipe is originally copied from meta-intel and added the following
modifications
1. Enable ARM architecture
2. Enable igt-runner and Chamelium
3. Build git HEAD code instead of a specific version
The original recipe in the meta-intel will be removed and replaced by this one to avoid having a duplicate recipe.
It is applicable to be submitted to oe-core, because it provides a core validation functionality that is needed by all providing DRM drivers and not just to a single arch.

Quoted 1 line

Looks like it has a number of dependencies not in OE-Core?

WARNING: Nothing PROVIDES 'xmlrpc-c' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb DEPENDS on or otherwise requires it)
WARNING: Nothing PROVIDES 'gsl' (but /home/pokybuild/yocto-worker/a-full/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb DEPENDS on or otherwise requires it)

Cheers,

Richard

#2 lore raw

Hi Arthur,

Quoted 20 lines · Richard Purdie
Quoted 17 lines · Arthur She

igt-gpu-tools is a collection of tools for development and testing of
the DRM
drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools)
This recipe is originally copied from meta-intel and added the following
modifications
1. Enable ARM architecture
2. Enable igt-runner and Chamelium
3. Build git HEAD code instead of a specific version
The original recipe in the meta-intel will be removed and replaced by
this one to avoid having a duplicate recipe.
It is applicable to be submitted to oe-core, because it provides a core validation functionality that is needed by all providing DRM drivers and not just to a single arch.

Quoted 1 line
Quoted 9 lines

Looks like it has a number of dependencies not in OE-Core?

WARNING: Nothing PROVIDES 'xmlrpc-c' (but /home/pokybuild/yocto- worker/a-full/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu- tools_git.bb DEPENDS on or otherwise requires it)
WARNING: Nothing PROVIDES 'gsl' (but /home/pokybuild/yocto-worker/a- full/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb DEPENDS on or otherwise requires it)

xmlrpc-c and gsl are optional dependencies and looks like are only needed for chamelium. Could you please turn the option chamelium=enabled into a PACKAGECONFIG and turn that off by default?

Thanks,

Anuj

author
#3 lore raw

Hi Anuj,
I did a test build.
These two packages were needed by chamelium.
I'll disable chamelium and resend the patch.

Thanks,

Arthur

Quoted 41 lines · Anuj

Hi Arthur,

Quoted 20 lines · Richard Purdie
Quoted 17 lines · Arthur She

igt-gpu-tools is a collection of tools for development and testing of
the DRM
drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools)
This recipe is originally copied from meta-intel and added the following
modifications
1. Enable ARM architecture
2. Enable igt-runner and Chamelium
3. Build git HEAD code instead of a specific version
The original recipe in the meta-intel will be removed and replaced by
this one to avoid having a duplicate recipe.
It is applicable to be submitted to oe-core, because it provides a core validation functionality that is needed by all providing DRM drivers and not just to a single arch.

Quoted 1 line
Quoted 9 lines

Looks like it has a number of dependencies not in OE-Core?

WARNING: Nothing PROVIDES 'xmlrpc-c' (but /home/pokybuild/yocto- worker/a-full/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu- tools_git.bb DEPENDS on or otherwise requires it)
WARNING: Nothing PROVIDES 'gsl' (but /home/pokybuild/yocto-worker/a- full/build/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb DEPENDS on or otherwise requires it)

xmlrpc-c and gsl are optional dependencies and looks like are only needed for chamelium. Could you please turn the option chamelium=enabled into a PACKAGECONFIG and turn that off by default?

Thanks,

Anuj