* [PATCH] Phoronix Test Suite package
@ 2014-09-19 22:44 Todd E Brandt
2014-09-19 23:03 ` Burton, Ross
0 siblings, 1 reply; 5+ messages in thread
From: Todd E Brandt @ 2014-09-19 22:44 UTC (permalink / raw)
To: openembedded-core
This is the package recipe for the phoronix test suite v5.2.1. The
tool is for benchmarking and testing of the system.
Signed-off-by: Todd Brandt <todd.e.brandt@linux.intel.com>
----
meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb b/meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb
new file mode 100644
index 0000000..f9f5d65
--- /dev/null
+++ b/meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb
@@ -0,0 +1,24 @@
+SUMMARY = "Phoronix Test Suite"
+DESCRIPTION = "The Phoronix Test Suite is designed to carry out both qualitative \
+and quantitative benchmarks in a clean, reproducible, and easy-to-use manner."
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://../phoronix-test-suite/COPYING;md5=d32239bcb673463ab874e80d47fae504"
+RDEPENDS_${PN} = "php-cli"
+SECTION = "tests"
+
+SRC_URI = "http://www.phoronix-test-suite.com/releases/phoronix-test-suite-5.2.1.tar.gz"
+SRC_URI[md5sum] = "51e52d883710dc516c5494bd1c377219"
+SRC_URI[sha256sum] = "1186f460691e2fe7a07df5edb8d8ed1ac0c65327512e646da2b2e3a60dda6cd9"
+S = "${WORKDIR}/phoronix-test-suite"
+
+do_install() {
+ DESTDIR=${D} ./install-sh /usr
+}
+
+FILES_${PN} += " \
+ ${datadir}/phoronix-test-suite \
+ ${datadir}/appdata/phoronix-test-suite.appdata.xml \
+ ${datadir}/icons/hicolor/48x48/apps/phoronix-test-suite.png \
+ ${datadir}/icons/hicolor/64x64/mimetypes/application-x-openbenchmarking.png \
+ ${datadir}/mime/packages/openbenchmarking-mime.xml \
+"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] Phoronix Test Suite package
2014-09-19 22:44 [PATCH] Phoronix Test Suite package Todd E Brandt
@ 2014-09-19 23:03 ` Burton, Ross
2014-09-20 0:05 ` Todd E Brandt
0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2014-09-19 23:03 UTC (permalink / raw)
To: todd.e.brandt; +Cc: OE-core
On 19 September 2014 23:44, Todd E Brandt <todd.e.brandt@linux.intel.com> wrote:
> This is the package recipe for the phoronix test suite v5.2.1. The
> tool is for benchmarking and testing of the system.
+RDEPENDS_${PN} = "php-cli"
Surely phoronix has more dependencies than just php... Or is this
just the runner and it talks to slave? Honestly have no idea how the
phoronix test suite is structured.
+SRC_URI = "http://www.phoronix-test-suite.com/releases/phoronix-test-suite-5.2.1.tar.gz"
${BP} expands to PN-PV, so you can replace that with .../releases/${BP}.tar.gz.
+S = "${WORKDIR}/phoronix-test-suite"
That's the default value, so you can delete this line.
+do_install() {
+ DESTDIR=${D} ./install-sh /usr
+}
Use ${exec_prefix} instead of /usr.
Finally, this is a patch to meta-oe, so it should go to
openembedded-devel@, not openembedded-core@.
Ross
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Phoronix Test Suite package
2014-09-19 23:03 ` Burton, Ross
@ 2014-09-20 0:05 ` Todd E Brandt
2014-09-20 0:08 ` Burton, Ross
2014-09-22 13:14 ` Otavio Salvador
0 siblings, 2 replies; 5+ messages in thread
From: Todd E Brandt @ 2014-09-20 0:05 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On Sat, Sep 20, 2014 at 12:03:43AM +0100, Burton, Ross wrote:
> On 19 September 2014 23:44, Todd E Brandt <todd.e.brandt@linux.intel.com> wrote:
> > This is the package recipe for the phoronix test suite v5.2.1. The
> > tool is for benchmarking and testing of the system.
>
> +RDEPENDS_${PN} = "php-cli"
>
> Surely phoronix has more dependencies than just php... Or is this
> just the runner and it talks to slave? Honestly have no idea how the
> phoronix test suite is structured.
it's designed to be a minimal install with only php as the dependency. It uses
the network to download test definitions and to upload test results.
>
> +SRC_URI = "http://www.phoronix-test-suite.com/releases/phoronix-test-suite-5.2.1.tar.gz"
>
> ${BP} expands to PN-PV, so you can replace that with .../releases/${BP}.tar.gz.
>
> +S = "${WORKDIR}/phoronix-test-suite"
>
> That's the default value, so you can delete this line.
>
> +do_install() {
> + DESTDIR=${D} ./install-sh /usr
> +}
>
> Use ${exec_prefix} instead of /usr.
>
> Finally, this is a patch to meta-oe, so it should go to
> openembedded-devel@, not openembedded-core@.
ok, I'll resubmit on the proper list, sorry for the mistake and thanks for the feedback.
>
> Ross
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Phoronix Test Suite package
2014-09-20 0:05 ` Todd E Brandt
@ 2014-09-20 0:08 ` Burton, Ross
2014-09-22 13:14 ` Otavio Salvador
1 sibling, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2014-09-20 0:08 UTC (permalink / raw)
To: todd.e.brandt; +Cc: OE-core
On 20 September 2014 01:05, Todd E Brandt <todd.e.brandt@linux.intel.com> wrote:
>> Surely phoronix has more dependencies than just php... Or is this
>> just the runner and it talks to slave? Honestly have no idea how the
>> phoronix test suite is structured.
>
> it's designed to be a minimal install with only php as the dependency. It uses
> the network to download test definitions and to upload test results.
Fair enough.
>> Finally, this is a patch to meta-oe, so it should go to
>> openembedded-devel@, not openembedded-core@.
>
> ok, I'll resubmit on the proper list, sorry for the mistake and thanks for the feedback.
No problem, thanks for the recipe. :)
Ross
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Phoronix Test Suite package
2014-09-20 0:05 ` Todd E Brandt
2014-09-20 0:08 ` Burton, Ross
@ 2014-09-22 13:14 ` Otavio Salvador
1 sibling, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2014-09-22 13:14 UTC (permalink / raw)
To: todd.e.brandt; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]
On Fri, Sep 19, 2014 at 9:05 PM, Todd E Brandt <
todd.e.brandt@linux.intel.com> wrote:
> On Sat, Sep 20, 2014 at 12:03:43AM +0100, Burton, Ross wrote:
> > On 19 September 2014 23:44, Todd E Brandt <todd.e.brandt@linux.intel.com>
> wrote:
> > > This is the package recipe for the phoronix test suite v5.2.1. The
> > > tool is for benchmarking and testing of the system.
> >
> > +RDEPENDS_${PN} = "php-cli"
> >
> > Surely phoronix has more dependencies than just php... Or is this
> > just the runner and it talks to slave? Honestly have no idea how the
> > phoronix test suite is structured.
>
> it's designed to be a minimal install with only php as the dependency. It
> uses
> the network to download test definitions and to upload test results.
>
So it will work successfully with just PHP?
I'd like to have the other runtime dependencies mapped with PACKAGECONFIG
features so it is easy to use.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
[-- Attachment #2: Type: text/html, Size: 1875 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-09-22 13:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19 22:44 [PATCH] Phoronix Test Suite package Todd E Brandt
2014-09-19 23:03 ` Burton, Ross
2014-09-20 0:05 ` Todd E Brandt
2014-09-20 0:08 ` Burton, Ross
2014-09-22 13:14 ` Otavio Salvador
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox