Skip to contentSkip to conversation

arm-benchmarks: port of am-benchmarks from arago

PATCH Superseded Chase Maupin 2 participants 5 messages Jan 26, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-benchmarks: port of am-benchmarks from arago

* Ported the am-benchmarks recipe from arago and changed the name to arm-benchmarks.
* Updated the SRCREV to pickup licensing file

---
 recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb |   26 +++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +26 -0
new file mode 100644
index 0000000..c7a8e12
@@ -0,0 +1,26 @@
+DESCRIPTION = "AM Benchmarks"
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
+SECTION = "system"
+
+SRCREV = "76"
+PR = "r0+svnr${SRCPV}"
+
+SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+S = "${WORKDIR}/trunk"
+
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	export ARCH=${TUNE_PKGARCH}
+	# build the release version
+	make release 
+}
+
+do_install() {
+	export ARCH=${TUNE_PKGARCH}
+	make DESTDIR=${D} install
+}
+
+RDEPENDS += matrix-gui-armbenchmarks-demos
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 16 lines · Chase Maupin

* Ported the am-benchmarks recipe from arago and changed the name to arm-benchmarks.
* Updated the SRCREV to pickup licensing file

---
 recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb |   26 +++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +0 -0
new file mode 100644
index 0000000..c7a8e12

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb line 1

Quoted 1 line
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +1 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "AM Benchmarks"

Didn't you change the name? ^^^

Quoted 15 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +15 -0
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
+SECTION = "system"
+
+SRCREV = "76"
+PR = "r0+svnr${SRCPV}"
+
+SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+S = "${WORKDIR}/trunk"
+
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	export ARCH=${TUNE_PKGARCH}

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb line 26

Quoted 10 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +10 -0
+	# build the release version
+	make release 
+}
+
+do_install() {
+	export ARCH=${TUNE_PKGARCH}
+	make DESTDIR=${D} install
+}
+
+RDEPENDS += matrix-gui-armbenchmarks-demos

Do we really need to RDEPENDS on matrix?

Signature · 1 line
Denys
#2 lore raw
Quoted 23 lines

-----Original Message-----
From: Denys Dmytriyenko [mailto:[email protected]]
Sent: Thursday, January 26, 2012 1:10 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] arm-benchmarks: port of am- benchmarks from arago

Quoted 7 lines · Chase Maupin

* Ported the am-benchmarks recipe from arago and changed the name to arm-benchmarks.
* Updated the SRCREV to pickup licensing file

---
 recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb |   26

+++++++++++++++++++++++

Quoted 2 lines
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 recipes-ti/arm-benchmarks/arm-

benchmarks_1.3.bb

Review

Quoted 2 lines
(quoted diff) +0 -0

b/recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb

Quoted 8 lines

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb line 1

Quoted 6 lines

new file mode 100644
index 0000000..c7a8e12

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +1 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "AM Benchmarks"

Didn't you change the name? ^^^

Yes, good point

Quoted 24 lines

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb

Quoted 5 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +3 -0
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb

Quoted 6 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +6 -0
+SECTION = "system"
+
+SRCREV = "76"
+PR = "r0+svnr${SRCPV}"
+
+SRC_URI =

"svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;us er=anonymous;pswd=''"

Quoted 10 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +10 -0
+
+S = "${WORKDIR}/trunk"
+
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	export ARCH=${TUNE_PKGARCH}
+	# build the release version
+	make release
+}
+
Quoted 8 lines

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb line 26

Quoted 6 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +6 -0
+do_install() {
+	export ARCH=${TUNE_PKGARCH}
+	make DESTDIR=${D} install
+}
+
+RDEPENDS += matrix-gui-armbenchmarks-demos

Do we really need to RDEPENDS on matrix?

It just pulls in the matrix information, but this by itself does not pull in full matrix.

Quoted 3 lines

--
Denys

#3 lore raw
Quoted 11 lines · Chase
Quoted 8 lines

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb line 26

Quoted 6 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +6 -0
+do_install() {
+	export ARCH=${TUNE_PKGARCH}
+	make DESTDIR=${D} install
+}
+
+RDEPENDS += matrix-gui-armbenchmarks-demos

Do we really need to RDEPENDS on matrix?

It just pulls in the matrix information, but this by itself does not pull in full matrix.

Isn't it a bit reverse? Can arm-benchmarks be used on its own?

Signature · 1 line
Denys
#4 lore raw

So the matrix-gui-armbenchmarks-demos package just contains the descriptors (the .desktop, etc) for the arm-benchmarks for matrix. This information used to be in the arm-benchmarks recipe as a tarball, but we broke this up instead into a shared git repository and a recipe to package the arm-benchmarks part of that git repository. So the idea here is that arm-benchmarks install their description data when they are installed. If matrix or someone else happens to be looking at the .desktop files then they will discover that arm-benchmarks is available. In this way the application brings his description data along with him.

The original intention was that for apps we controlled the application brought everything along. However, some things that we don't control like the Qt demos have matrix-gui-xxxx recipes that do the dependency the way you are suggesting. So to avoid confusion I will switch this around. I'll update the patches and re-order everything so that this all makes sense.

Sincerely,
Chase Maupin
Software Applications
ARM MPU
e-mail: [email protected]
phone: (214) 567-2950

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/

Quoted 26 lines

-----Original Message-----
From: Denys Dmytriyenko [mailto:[email protected]]
Sent: Thursday, January 26, 2012 1:40 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH] arm-benchmarks: port of am- benchmarks from arago

Quoted 10 lines · Chase
Quoted 8 lines

recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb line 26

Quoted 6 lines
recipes-ti/arm-benchmarks/arm-benchmarks_1.3.bb new file +6 -0
+do_install() {
+	export ARCH=${TUNE_PKGARCH}
+	make DESTDIR=${D} install
+}
+
+RDEPENDS += matrix-gui-armbenchmarks-demos

Do we really need to RDEPENDS on matrix?

It just pulls in the matrix information, but this by itself does

not pull in

Quoted 1 line

full matrix.

Isn't it a bit reverse? Can arm-benchmarks be used on its own?

--
Denys