From: "Denys Dmytriyenko" <denis@denix.org>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Arthur She <arthur.she@linaro.org>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH] igt-gpu-tools: add new package
Date: Mon, 15 Jun 2020 03:56:46 -0400 [thread overview]
Message-ID: <20200615075646.GU17660@denix.org> (raw)
In-Reply-To: <CANNYZj9RLRjTgB-Qy4Rzx9iWN4PMGzay-XxgZGEei_HC8gEq=w@mail.gmail.com>
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 <arthur.she@linaro.org> 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 <arthur.she@linaro.org>
> > ---
> > .../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 0000000000..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
> >
> >
> >
>
next prev parent reply other threads:[~2020-06-15 7:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-15 6:00 [OE-core][PATCH] igt-gpu-tools: add new package Arthur She
2020-06-15 7:45 ` Alexander Kanavin
2020-06-15 7:56 ` Denys Dmytriyenko [this message]
2020-06-16 4:44 ` Arthur She
2020-06-16 7:04 ` Alexander Kanavin
2020-06-16 7:16 ` Anuj Mittal
2020-06-18 5:27 ` Arthur She
2020-06-18 15:25 ` Alexander Kanavin
2020-06-19 2:07 ` Arthur She
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200615075646.GU17660@denix.org \
--to=denis@denix.org \
--cc=alex.kanavin@gmail.com \
--cc=arthur.she@linaro.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox