Re: [OE-core][PATCH] igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

2020-07-08 Thread Arthur She
Hi Anuj,
Thanks for your explanation.
I've sent patch v2 out.

Thanks,
Arthur

On Wed, Jul 8, 2020 at 6:29 PM Mittal, Anuj  wrote:

> On Tue, 2020-07-07 at 18:01 -0700, Arthur She wrote:
> > Hi Anuj,
> > Thanks for your review.
> > I don't need to put "-Dchamelium=disabled" in the EXTRA_OEMESON.
> > Because chamelium is disabled by default.
> > Is it correct?
>
> Yes, since it's disabled by default, -Dchamelium=disabled is already
> being passed to EXTRA_OEMESON.
>
> In this change, if you add chamelium to PACKAGECONFIG, it will pass
> both -Dchamelium=enabled and -Dchamelium=disabled to EXTRA_OEMESON
> which is incorrect. It probably works for you because PACKAGECONFIG
> arguments are added last ...
>
> Thanks,
>
> Anuj
>
> >
> > Thanks,
> > Arthur
> >
> > On Tue, Jul 7, 2020 at 4:43 PM Mittal, Anuj 
> > wrote:
> > > On Tue, 2020-07-07 at 14:09 -0700, Arthur She wrote:
> > > > Chamelium is a hardware device that can be used for external
> > > display
> > > > test automation [1].
> > > > It is disabled by default and can be turned on through
> > > PACKAGECONFIG.
> > > >
> > > > [1] https://www.chromium.org/chromium-os/testing/chamelium
> > > >
> > > > Signed-off-by: Arthur She 
> > > > ---
> > > >  meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 4
> > > +++-
> > > >  1 file changed, 3 insertions(+), 1 deletion(-)
> > > >
> > > > diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-
> > > tools_git.bb
> > > > b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > > > index f60880c292..29031e64dc 100644
> > > > --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > > > +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > > > @@ -20,7 +20,9 @@ RDEPENDS_${PN}-tests += "bash"
> > > >
> > > >  PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
> > > >
> > > > -EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled"
> > > > +PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-
> > > > Dchamelium=disabled,gsl xmlrpc-c"
> > > > +
> > > > +EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled
> > > > -Dchamelium=disabled"
> > >
> > > This is disabling chamelium even if it's enabled using
> > > PACKAGECONFIG.
> > >
> > > Thanks,
> > >
> > > Anuj
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140458): 
https://lists.openembedded.org/g/openembedded-core/message/140458
Mute This Topic: https://lists.openembedded.org/mt/75364233/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH v2] igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

2020-07-08 Thread Arthur She
Chamelium is a hardware device that can be used for external display
test automation [1].
It is disabled by default and can be turned on through PACKAGECONFIG.

[1] https://www.chromium.org/chromium-os/testing/chamelium

Signed-off-by: Arthur She 
---
 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
index f60880c292..89480d79d2 100644
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -20,6 +20,8 @@ RDEPENDS_${PN}-tests += "bash"
 
 PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
 
+PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl 
xmlrpc-c"
+
 EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled"
 COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
 COMPATIBLE_HOST_libc-musl_class-target = "null"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140457): 
https://lists.openembedded.org/g/openembedded-core/message/140457
Mute This Topic: https://lists.openembedded.org/mt/75390417/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][PATCH] igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

2020-07-07 Thread Arthur She
Hi Anuj,
Thanks for your review.
I don't need to put "-Dchamelium=disabled" in the EXTRA_OEMESON.
Because chamelium is disabled by default.
Is it correct?

Thanks,
Arthur

On Tue, Jul 7, 2020 at 4:43 PM Mittal, Anuj  wrote:

> On Tue, 2020-07-07 at 14:09 -0700, Arthur She wrote:
> > Chamelium is a hardware device that can be used for external display
> > test automation [1].
> > It is disabled by default and can be turned on through PACKAGECONFIG.
> >
> > [1] https://www.chromium.org/chromium-os/testing/chamelium
> >
> > Signed-off-by: Arthur She 
> > ---
> >  meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > index f60880c292..29031e64dc 100644
> > --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > @@ -20,7 +20,9 @@ RDEPENDS_${PN}-tests += "bash"
> >
> >  PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
> >
> > -EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled"
> > +PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-
> > Dchamelium=disabled,gsl xmlrpc-c"
> > +
> > +EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled
> > -Dchamelium=disabled"
>
> This is disabling chamelium even if it's enabled using PACKAGECONFIG.
>
> Thanks,
>
> Anuj
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140400): 
https://lists.openembedded.org/g/openembedded-core/message/140400
Mute This Topic: https://lists.openembedded.org/mt/75364233/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH] igt-gpu-tools: Add PACKAGECONFIG for Chamelium support

2020-07-07 Thread Arthur She
Chamelium is a hardware device that can be used for external display
test automation [1].
It is disabled by default and can be turned on through PACKAGECONFIG.

[1] https://www.chromium.org/chromium-os/testing/chamelium

Signed-off-by: Arthur She 
---
 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
index f60880c292..29031e64dc 100644
--- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -20,7 +20,9 @@ RDEPENDS_${PN}-tests += "bash"
 
 PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
 
-EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled"
+PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl 
xmlrpc-c"
+
+EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=disabled"
 COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
 COMPATIBLE_HOST_libc-musl_class-target = "null"
 SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140393): 
https://lists.openembedded.org/g/openembedded-core/message/140393
Mute This Topic: https://lists.openembedded.org/mt/75364233/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH v4] igt-gpu-tools: add new package

2020-06-22 Thread 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
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.

Signed-off-by: Arthur She 
---
 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

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 6496a48e40..2751375acc 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -262,6 +262,7 @@ RECIPE_MAINTAINER_pn-i2c-tools = "Anuj Mittal 
"
 RECIPE_MAINTAINER_pn-icecc-create-env = "Joshua Watt "
 RECIPE_MAINTAINER_pn-icu = "Alexander Kanavin "
 RECIPE_MAINTAINER_pn-ifupdown = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-igt-gpu-tools = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-inetutils = "Tom Rini "
 RECIPE_MAINTAINER_pn-init-ifupdown = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-init-system-helpers = "Anuj Mittal 
"
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
new file mode 100644
index 00..f60880c292
--- /dev/null
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -0,0 +1,47 @@
+SUMMARY = "IGT GPU Tools"
+DESCRIPTION = "IGT GPU Tools is a collection of tools for development and 
testing of the DRM drivers"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
+
+LICENSE = "MIT"
+
+inherit meson
+
+SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
+PV = "1.25+git${SRCPV}"
+
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod 
openssl elfutils alsa-lib json-c bison-native"
+RDEPENDS_${PN} += "bash"
+RDEPENDS_${PN}-tests += "bash"
+
+PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
+
+EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled"
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
+
+gputools_sysroot_preprocess() {
+   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
+}
+SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
+
+do_install_append() {
+install -d ${D}/usr/share/${BPN}/scripts
+install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
+install -d ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
+}
+
+FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks"
+FILES_${PN}-tests += "\
+${libexecdir}/${BPN}/*\
+${datadir}/${BPN}/1080p-right.png\
+${datadir}/${BPN}/1080p-left.png\
+${datadir}/${BPN}/pass.png\
+${datadir}/${BPN}/test-list.txt"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139747): 
https://lists.openembedded.org/g/openembedded-core/message/139747
Mute This Topic: https://lists.openembedded.org/mt/75039832/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][PATCH v3] igt-gpu-tools: add new package

2020-06-22 Thread Arthur She
Hi Anuj,
I did a test build.
These two packages were needed by chamelium.
I'll disable chamelium and resend the patch.

Thanks,

Arthur

On Sun, Jun 21, 2020 at 5:07 PM Mittal, Anuj  wrote:

> Hi Arthur,
>
> On Fri, 2020-06-19 at 23:14 +0100, Richard Purdie wrote:
> > On Fri, 2020-06-19 at 11:09 -0700, Arthur She wrote:
> > > 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.
> > >
> > > Signed-off-by: Arthur She 
> >
> > 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
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139746): 
https://lists.openembedded.org/g/openembedded-core/message/139746
Mute This Topic: https://lists.openembedded.org/mt/74985512/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH v3] igt-gpu-tools: add new package

2020-06-19 Thread 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.

Signed-off-by: Arthur She 
---
 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

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 6496a48e40..2751375acc 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -262,6 +262,7 @@ RECIPE_MAINTAINER_pn-i2c-tools = "Anuj Mittal 
"
 RECIPE_MAINTAINER_pn-icecc-create-env = "Joshua Watt "
 RECIPE_MAINTAINER_pn-icu = "Alexander Kanavin "
 RECIPE_MAINTAINER_pn-ifupdown = "Anuj Mittal "
+RECIPE_MAINTAINER_pn-igt-gpu-tools = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-inetutils = "Tom Rini "
 RECIPE_MAINTAINER_pn-init-ifupdown = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-init-system-helpers = "Anuj Mittal 
"
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
new file mode 100644
index 00..dc9537c9e3
--- /dev/null
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -0,0 +1,47 @@
+SUMMARY = "IGT GPU Tools"
+DESCRIPTION = "IGT GPU Tools is a collection of tools for development and 
testing of the DRM drivers"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
+
+LICENSE = "MIT"
+
+inherit meson
+
+SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
+PV = "1.25+git${SRCPV}"
+
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod 
openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
+RDEPENDS_${PN} += "bash"
+RDEPENDS_${PN}-tests += "bash"
+
+PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
+
+EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
+
+gputools_sysroot_preprocess() {
+   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
+}
+SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
+
+do_install_append() {
+install -d ${D}/usr/share/${BPN}/scripts
+install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
+install -d ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
+}
+
+FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks"
+FILES_${PN}-tests += "\
+${libexecdir}/${BPN}/*\
+${datadir}/${BPN}/1080p-right.png\
+${datadir}/${BPN}/1080p-left.png\
+${datadir}/${BPN}/pass.png\
+${datadir}/${BPN}/test-list.txt"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139696): 
https://lists.openembedded.org/g/openembedded-core/message/139696
Mute This Topic: https://lists.openembedded.org/mt/74985512/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][PATCH v2] igt-gpu-tools: add new package

2020-06-19 Thread Arthur She
Hi Alex,
Since Anuj is the original maintainer, I'll put his name on it.

Thanks,
Arthur

On Fri, Jun 19, 2020 at 1:15 AM Alexander Kanavin 
wrote:

> You also need to add a maintainers.inc entry (this will be used by auto
> upgrade helper to send version upgrade patches or reminders to upgrade).
>
> Alex
>
> On Fri, 19 Jun 2020 at 04:11, Arthur She  wrote:
>
>> 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.
>>
>> Signed-off-by: Arthur She 
>> ---
>>  .../igt-gpu-tools/igt-gpu-tools_git.bb| 47 +++
>>  1 file changed, 47 insertions(+)
>>  create mode 100644 meta/recipes-graphics/igt-gpu-tools/
>> igt-gpu-tools_git.bb
>>
>> diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
>> b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
>> new file mode 100644
>> index 00..dc9537c9e3
>> --- /dev/null
>> +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
>> @@ -0,0 +1,47 @@
>> +SUMMARY = "IGT GPU Tools"
>> +DESCRIPTION = "IGT GPU Tools is a collection of tools for development
>> and testing of the DRM drivers"
>> +
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
>> +
>> +LICENSE = "MIT"
>> +
>> +inherit meson
>> +
>> +SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
>> +PV = "1.25+git${SRCPV}"
>> +
>> +SRC_URI = "git://
>> gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind
>> kmod openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
>> +RDEPENDS_${PN} += "bash"
>> +RDEPENDS_${PN}-tests += "bash"
>> +
>> +PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
>> +
>> +EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
>> +COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
>> +COMPATIBLE_HOST_libc-musl_class-target = "null"
>> +SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
>> +
>> +gputools_sysroot_preprocess() {
>> +   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
>> +}
>> +SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
>> +
>> +do_install_append() {
>> +install -d ${D}/usr/share/${BPN}/scripts
>> +install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
>> +install -d ${D}/usr/share/${BPN}/runner
>> +install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
>> +install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
>> +}
>> +
>> +FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks"
>> +FILES_${PN}-tests += "\
>> +${libexecdir}/${BPN}/*\
>> +${datadir}/${BPN}/1080p-right.png\
>> +${datadir}/${BPN}/1080p-left.png\
>> +${datadir}/${BPN}/pass.png\
>> +${datadir}/${BPN}/test-list.txt"
>> --
>> 2.25.1
>>
>> 
>>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139695): 
https://lists.openembedded.org/g/openembedded-core/message/139695
Mute This Topic: https://lists.openembedded.org/mt/74972486/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH v2] igt-gpu-tools: add new package

2020-06-18 Thread 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.

Signed-off-by: Arthur She 
---
 .../igt-gpu-tools/igt-gpu-tools_git.bb| 47 +++
 1 file changed, 47 insertions(+)
 create mode 100644 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb

diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
new file mode 100644
index 00..dc9537c9e3
--- /dev/null
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -0,0 +1,47 @@
+SUMMARY = "IGT GPU Tools"
+DESCRIPTION = "IGT GPU Tools is a collection of tools for development and 
testing of the DRM drivers"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
+
+LICENSE = "MIT"
+
+inherit meson
+
+SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
+PV = "1.25+git${SRCPV}"
+
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod 
openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
+RDEPENDS_${PN} += "bash"
+RDEPENDS_${PN}-tests += "bash"
+
+PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
+
+EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
+
+gputools_sysroot_preprocess() {
+   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
+}
+SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
+
+do_install_append() {
+install -d ${D}/usr/share/${BPN}/scripts
+install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
+install -d ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
+}
+
+FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks"
+FILES_${PN}-tests += "\
+${libexecdir}/${BPN}/*\
+${datadir}/${BPN}/1080p-right.png\
+${datadir}/${BPN}/1080p-left.png\
+${datadir}/${BPN}/pass.png\
+${datadir}/${BPN}/test-list.txt"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139680): 
https://lists.openembedded.org/g/openembedded-core/message/139680
Mute This Topic: https://lists.openembedded.org/mt/74972486/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][PATCH] igt-gpu-tools: add new package

2020-06-18 Thread Arthur She
Hi Alex,
Thank you so much. I will update the commit message and send the patch v2
out.

Thanks,
Arthur

On Thu, Jun 18, 2020 at 8:25 AM Alexander Kanavin 
wrote:

> I am fine with that, please resend with Anuj's rationale included into the
> commit message.
>
> Alex
>
> On Thu, 18 Jun 2020 at 07:27, Arthur She  wrote:
>
>> Hi Alex,
>> Would it be a sufficient reason for doing that?
>> Or any thought could be shared from you?
>>
>> Thank you so much,
>> Arthur
>>
>> On Tue, Jun 16, 2020 at 12:16 AM Mittal, Anuj 
>> wrote:
>>
>>> Hi Alex
>>>
>>> On Tue, 2020-06-16 at 09:04 +0200, Alexander Kanavin wrote:
>>> > Usually it's the other way around - what is the reason to have this
>>> > recipe in core?
>>> >
>>>
>>> I had requested Arthur to send this to oe-core since this provides
>>> a core validation functionality that is needed by all providing DRM
>>> drivers and is applicable not just to a single arch.
>>>
>>> It's a well maintained project and I can keep the recipe updated and
>>> working. If it can be in oe-core, I can remove it from meta-intel layer
>>> and avoid having a duplicate recipe.
>>>
>>> Thanks,
>>>
>>> Anuj
>>>
>>> > Alex
>>> >
>>> > On Tue, 16 Jun 2020 at 06:45, Arthur She 
>>> > wrote:
>>> > > Hi Alexander and Denys,
>>> > > Thanks for your feedback.
>>> > > I have no problem submitting it to meta-oe.
>>> > > Since the meta-intel maintainer requested to submit it to oe-core,
>>> > > do you mind sharing some thought about the reason?
>>> > >
>>> > > Thank you so much,
>>> > > Arthur
>>> > >
>>> > > On Mon, Jun 15, 2020 at 12:56 AM Denys Dmytriyenko >> > > > wrote:
>>> > > > https://lists.openembedded.org/g/openembedded-devel/topic/74775294
>>> > > >
>>> > > > But I tend to agree.
>>> > > >
>>>
>>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139679): 
https://lists.openembedded.org/g/openembedded-core/message/139679
Mute This Topic: https://lists.openembedded.org/mt/74889257/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][PATCH] igt-gpu-tools: add new package

2020-06-17 Thread Arthur She
Hi Alex,
Would it be a sufficient reason for doing that?
Or any thought could be shared from you?

Thank you so much,
Arthur

On Tue, Jun 16, 2020 at 12:16 AM Mittal, Anuj  wrote:

> Hi Alex
>
> On Tue, 2020-06-16 at 09:04 +0200, Alexander Kanavin wrote:
> > Usually it's the other way around - what is the reason to have this
> > recipe in core?
> >
>
> I had requested Arthur to send this to oe-core since this provides
> a core validation functionality that is needed by all providing DRM
> drivers and is applicable not just to a single arch.
>
> It's a well maintained project and I can keep the recipe updated and
> working. If it can be in oe-core, I can remove it from meta-intel layer
> and avoid having a duplicate recipe.
>
> Thanks,
>
> Anuj
>
> > Alex
> >
> > On Tue, 16 Jun 2020 at 06:45, Arthur She 
> > wrote:
> > > Hi Alexander and Denys,
> > > Thanks for your feedback.
> > > I have no problem submitting it to meta-oe.
> > > Since the meta-intel maintainer requested to submit it to oe-core,
> > > do you mind sharing some thought about the reason?
> > >
> > > Thank you so much,
> > > Arthur
> > >
> > > On Mon, Jun 15, 2020 at 12:56 AM Denys Dmytriyenko  > > > wrote:
> > > > https://lists.openembedded.org/g/openembedded-devel/topic/74775294
> > > >
> > > > But I tend to agree.
> > > >
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139624): 
https://lists.openembedded.org/g/openembedded-core/message/139624
Mute This Topic: https://lists.openembedded.org/mt/74889257/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core][PATCH] igt-gpu-tools: add new package

2020-06-15 Thread Arthur She
Hi Alexander and Denys,
Thanks for your feedback.
I have no problem submitting it to meta-oe.
Since the meta-intel maintainer requested to submit it to oe-core, do you
mind sharing some thought about the reason?

Thank you so much,
Arthur

On Mon, Jun 15, 2020 at 12:56 AM Denys Dmytriyenko  wrote:

> https://lists.openembedded.org/g/openembedded-devel/topic/74775294
>
> But I tend to agree.
>
> --
> Denys
>
>
> On Mon, Jun 15, 2020 at 09:45:25AM +0200, Alexander Kanavin wrote:
> > This should go to meta-oe, rather than core?
> >
> > Alex
> >
> > On Mon 15. Jun 2020 at 8.00, Arthur She  wrote:
> >
> > > 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 once it get merged.
> > >
> > > Signed-off-by: Arthur She 
> > > ---
> > >  .../igt-gpu-tools/igt-gpu-tools_git.bb| 47
> +++
> > >  1 file changed, 47 insertions(+)
> > >  create mode 100644 meta/recipes-graphics/igt-gpu-tools/
> > > igt-gpu-tools_git.bb
> > >
> > > diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > > b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > > new file mode 100644
> > > index 00..dc9537c9e3
> > > --- /dev/null
> > > +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
> > > @@ -0,0 +1,47 @@
> > > +SUMMARY = "IGT GPU Tools"
> > > +DESCRIPTION = "IGT GPU Tools is a collection of tools for development
> and
> > > testing of the DRM drivers"
> > > +
> > > +LIC_FILES_CHKSUM =
> "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
> > > +
> > > +LICENSE = "MIT"
> > > +
> > > +inherit meson
> > > +
> > > +SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
> > > +PV = "1.25+git${SRCPV}"
> > > +
> > > +SRC_URI = "git://
> > > gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
> > > +
> > > +S = "${WORKDIR}/git"
> > > +
> > > +DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind
> kmod
> > > openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
> > > +RDEPENDS_${PN} += "bash"
> > > +RDEPENDS_${PN}-tests += "bash"
> > > +
> > > +PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
> > > +
> > > +EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
> > > +COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
> > > +COMPATIBLE_HOST_libc-musl_class-target = "null"
> > > +SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
> > > +
> > > +gputools_sysroot_preprocess() {
> > > +   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
> > > +}
> > > +SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
> > > +
> > > +do_install_append() {
> > > +install -d ${D}/usr/share/${BPN}/scripts
> > > +install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
> > > +install -d ${D}/usr/share/${BPN}/runner
> > > +install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
> > > +install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
> > > +}
> > > +
> > > +FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks"
> > > +FILES_${PN}-tests += "\
> > > +${libexecdir}/${BPN}/*\
> > > +${datadir}/${BPN}/1080p-right.png\
> > > +${datadir}/${BPN}/1080p-left.png\
> > > +${datadir}/${BPN}/pass.png\
> > > +${datadir}/${BPN}/test-list.txt"
> > > --
> > > 2.25.1
> > >
> > >
> > >
>
> > 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139548): 
https://lists.openembedded.org/g/openembedded-core/message/139548
Mute This Topic: https://lists.openembedded.org/mt/74889257/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH] igt-gpu-tools: add new package

2020-06-14 Thread 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 once it get merged.

Signed-off-by: Arthur She 
---
 .../igt-gpu-tools/igt-gpu-tools_git.bb| 47 +++
 1 file changed, 47 insertions(+)
 create mode 100644 meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb

diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
new file mode 100644
index 00..dc9537c9e3
--- /dev/null
+++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -0,0 +1,47 @@
+SUMMARY = "IGT GPU Tools"
+DESCRIPTION = "IGT GPU Tools is a collection of tools for development and 
testing of the DRM drivers"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
+
+LICENSE = "MIT"
+
+inherit meson
+
+SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c"
+PV = "1.25+git${SRCPV}"
+
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod 
openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
+RDEPENDS_${PN} += "bash"
+RDEPENDS_${PN}-tests += "bash"
+
+PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
+
+EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"
+
+gputools_sysroot_preprocess() {
+   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
+}
+SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
+
+do_install_append() {
+install -d ${D}/usr/share/${BPN}/scripts
+install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
+install -d ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
+}
+
+FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks"
+FILES_${PN}-tests += "\
+${libexecdir}/${BPN}/*\
+${datadir}/${BPN}/1080p-right.png\
+${datadir}/${BPN}/1080p-left.png\
+${datadir}/${BPN}/pass.png\
+${datadir}/${BPN}/test-list.txt"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139488): 
https://lists.openembedded.org/g/openembedded-core/message/139488
Mute This Topic: https://lists.openembedded.org/mt/74889257/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [meta-oe][PATCH] igt-gpu-tools: add new package

2020-06-08 Thread 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)

Signed-off-by: Arthur She 
---
 .../igt-gpu-tools/igt-gpu-tools_git.bb| 46 +++
 1 file changed, 46 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb

diff --git a/meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb 
b/meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
new file mode 100644
index 0..761df1cbb
--- /dev/null
+++ b/meta-oe/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb
@@ -0,0 +1,46 @@
+SUMMARY = "IGT GPU Tools"
+DESCRIPTION = "IGT GPU Tools is a collection of tools for development and 
testing of the DRM drivers"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08"
+
+LICENSE_append = " & ISC"
+
+inherit meson gtk-doc
+
+SRCREV = "${AUTOREV}"
+
+SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https"
+
+S = "${WORKDIR}/git"
+
+DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod 
openssl xmlrpc-c gsl elfutils alsa-lib json-c bison-native"
+RDEPENDS_${PN} += "bash python3-mako python3-six git net-snmp"
+
+PACKAGE_BEFORE_PN = "${PN}-benchmarks"
+
+EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dchamelium=enabled"
+COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux"
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+
+gputools_sysroot_preprocess() {
+   rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
+}
+SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
+
+do_install_append() {
+install -d ${D}/usr/share/${BPN}/scripts
+install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts
+install -d ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_runner ${D}/usr/share/${BPN}/runner
+install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner
+}
+
+FILES_${PN} += "\
+${libexecdir}/${BPN}/*\
+${libdir}/intel_aubdump.so \
+${datadir}/${BPN}/1080p-right.png \
+${datadir}/${BPN}/1080p-left.png \
+${datadir}/${BPN}/pass.png \
+${datadir}/${BPN}/test-list.txt \
+${libexecdir}/${BPN}/benchmarks \
+"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139346): 
https://lists.openembedded.org/g/openembedded-core/message/139346
Mute This Topic: https://lists.openembedded.org/mt/74768666/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-