Phoronix Test Suite package
PATCH 1/1 Phoronix Test Suite package
This is the package recipe for the phoronix test suite v5.2.1. The tool is for benchmarking and testing of the system.
----
meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb new file +24 -0
@@ -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 \ +"
Quoted 2 lines · Todd E Brandt
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
Quoted 9 lines · Ross
Quoted 2 lines · Todd E Brandt
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.
Quoted 13 lines
+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.
meta-oe/recipes-devtools/phoronix-test-suite/phoronix-test-suite_5.2.1.bb new file +3
-0+do_install() { + DESTDIR=${D} ./install-sh /usr +}
Quoted 4 lines
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.
Quoted 2 lines
Ross
Quoted 6 lines · Todd E Brandt
Quoted 3 lines
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.
Quoted 4 lines
Quoted 2 lines
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
Quoted 8 lines · Todd E Brandt
Quoted 1 line · Ross
On 19 September 2014 23:44, Todd E Brandt <[email protected]>
Quoted 5 lines · wrote:
Quoted 2 lines
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"
Quoted 8 lines
Quoted 3 lines
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.
Signature · 3 lines
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