Skip to contentSkip to conversation

arm-benchmarks: port benchmarks from old arago

PATCH Superseded Chase Maupin 2 participants 4 messages Jan 31, 2012

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-benchmarks: port benchmarks from old arago

* Port the am-benchmarks from the original arago overlay to meta-arago
* Change the name to arm-benchmarks
* Modify the recipe for oe-core changes
* Updated the SRCREV to pickup licensing file

---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |   24 ++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/arm-benchmarks/arm-benchmarks_1.3.bb
meta-arago-extras/recipes-core/arm-benchmarks/arm-benchmarks_1.3.bb new file +24 -0
new file mode 100644
index 0000000..71f5eb8
@@ -0,0 +1,24 @@
+DESCRIPTION = "ARM 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
+}
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 11 lines · Chase Maupin

* Port the am-benchmarks from the original arago overlay to meta-arago
* Change the name to arm-benchmarks
* Modify the recipe for oe-core changes
* Updated the SRCREV to pickup licensing file

---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |   24 ++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/arm-benchmarks/arm-benchmarks_1.3.bb

There is a whole set of benchmarks in meta-oe/recipes-benchmark/, so should we use the same path instead of recipes-core?

Signature · 1 line
Denys
Quoted 38 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm-benchmarks_1.3.bb new file +24 -0
new file mode 100644
index 0000000..71f5eb8
@@ -0,0 +1,24 @@
+DESCRIPTION = "ARM 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
+}
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#2 lore raw
Quoted 19 lines

-----Original Message-----
From: Denys Dmytriyenko [mailto:[email protected]]
Sent: Tuesday, January 31, 2012 2:26 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] arm-benchmarks: port benchmarks from old arago

Quoted 9 lines · Chase Maupin

* Port the am-benchmarks from the original arago overlay to meta-arago
* Change the name to arm-benchmarks
* Modify the recipe for oe-core changes
* Updated the SRCREV to pickup licensing file

---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |   24
Quoted 8 lines

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

Quoted 2 lines
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/arm-

benchmarks/arm-benchmarks_1.3.bb

There is a whole set of benchmarks in meta-oe/recipes-benchmark/, so should we
use the same path instead of recipes-core?

I was intending recipes-core to be the recipes that the various SDKs will share. Maybe my view was too SDK centric, so I'm OK with changing this. I just didn't want to get to:

Recipes-benchmark/arm-benchmarks
Recipes-settigns/am-sysinfo
Recipes-matrix/matrix

Etc. But since recipes-benchmark is already used somewhere else I'll make this change and resubmit.

Quoted 48 lines

--
Denys

Review

Quoted 1 line
(quoted diff) +0 -0

benchmarks_1.3.bb b/meta-arago-extras/recipes-core/arm- benchmarks/arm-benchmarks_1.3.bb

meta-arago-extras/recipes-core/arm-benchmarks/arm-

Quoted 4 lines

new file mode 100644
index 0000000..71f5eb8

meta-arago-extras/recipes-core/arm-benchmarks/arm- new file +0 -0

benchmarks_1.3.bb

meta-arago-extras/recipes-core/arm-benchmarks/arm- line 4

Quoted 5 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm- new file +4 -0
@@ -0,0 +1,24 @@
+DESCRIPTION = "ARM Benchmarks"
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-core/arm-benchmarks/arm- line 10

Quoted 6 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm- 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 22 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm- new file +14 -1
+
+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
+}
--

1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

#3 lore raw
Quoted 28 lines · Chase
Quoted 19 lines

-----Original Message-----
From: Denys Dmytriyenko [mailto:[email protected]]
Sent: Tuesday, January 31, 2012 2:26 PM
To: Maupin, Chase
Cc: [email protected]
Subject: Re: [meta-arago] [PATCH] arm-benchmarks: port benchmarks from old arago

Quoted 9 lines · Chase Maupin

* Port the am-benchmarks from the original arago overlay to meta-arago
* Change the name to arm-benchmarks
* Modify the recipe for oe-core changes
* Updated the SRCREV to pickup licensing file

---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |   24
Quoted 8 lines

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

Quoted 2 lines
 1 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 meta-arago-extras/recipes-core/arm-

benchmarks/arm-benchmarks_1.3.bb

There is a whole set of benchmarks in meta-oe/recipes-benchmark/, so should we
use the same path instead of recipes-core?

Quoted 7 lines

I was intending recipes-core to be the recipes that the various SDKs will share. Maybe my view was too SDK centric, so I'm OK with changing this. I just didn't want to get to:

Recipes-benchmark/arm-benchmarks
Recipes-settigns/am-sysinfo
Recipes-matrix/matrix

The idea is to group recipes by functionality - i.e. benchmarks, connectivity, devtools, multimedia, graphics etc. There are, of course, core and support directories, which are more loosely defined :)

So, I'd first look at existing directories in other layers and see if there's good fit, if not then resort to core or support. Either way it should be easy to move later, if needed.

Signature · 1 line
Denys
Quoted 52 lines

Etc. But since recipes-benchmark is already used somewhere else I'll make this change and resubmit.

Quoted 48 lines

--
Denys

Review

Quoted 1 line
(quoted diff) +0 -0

benchmarks_1.3.bb b/meta-arago-extras/recipes-core/arm- benchmarks/arm-benchmarks_1.3.bb

meta-arago-extras/recipes-core/arm-benchmarks/arm-

Quoted 4 lines

new file mode 100644
index 0000000..71f5eb8

meta-arago-extras/recipes-core/arm-benchmarks/arm- new file +0 -0

benchmarks_1.3.bb

meta-arago-extras/recipes-core/arm-benchmarks/arm- line 4

Quoted 5 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm- new file +4 -0
@@ -0,0 +1,24 @@
+DESCRIPTION = "ARM Benchmarks"
+HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM =

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

meta-arago-extras/recipes-core/arm-benchmarks/arm- line 10

Quoted 6 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm- 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 22 lines
meta-arago-extras/recipes-core/arm-benchmarks/arm- new file +14 -1
+
+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
+}
--

1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago