* [meta-oe][PATCH] tbb: update to 4.1 Update 3 version from 20130314
@ 2013-04-04 19:05 Marcin Juszkiewicz
2013-04-09 9:58 ` Martin Jansa
0 siblings, 1 reply; 3+ messages in thread
From: Marcin Juszkiewicz @ 2013-04-04 19:05 UTC (permalink / raw)
To: openembedded-devel
ARMv7a support was added
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
meta-oe/recipes-support/tbb/tbb_4.1.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb
index 2337bdd..48427ee 100644
--- a/meta-oe/recipes-support/tbb/tbb_4.1.bb
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Parallelism library for C++ - runtime files \
HOMEPAGE = "http://threadingbuildingblocks.org/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1"
-PRDATE = "20130116"
+PRDATE = "20130314"
PR = "r${PRDATE}"
SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz \
@@ -15,8 +15,8 @@ SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_relea
S = "${WORKDIR}/tbb41_${PRDATE}oss/"
-SRC_URI[md5sum] = "3809790e1001a1b32d59c9fee590ee85"
-SRC_URI[sha256sum] = "4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6"
+SRC_URI[md5sum] = "ed4af7ccfa122f16cf9920b241633a3a"
+SRC_URI[sha256sum] = "32fd5979971b772caa96d40646cee585ed0070516ba2dbbcb1f9b6033d08a92d"
do_compile() {
oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [meta-oe][PATCH] tbb: update to 4.1 Update 3 version from 20130314
2013-04-04 19:05 [meta-oe][PATCH] tbb: update to 4.1 Update 3 version from 20130314 Marcin Juszkiewicz
@ 2013-04-09 9:58 ` Martin Jansa
2013-04-15 18:00 ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2013-04-09 9:58 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1992 bytes --]
On Thu, Apr 04, 2013 at 09:05:49PM +0200, Marcin Juszkiewicz wrote:
> ARMv7a support was added
Now it fails on armv5 (qemuarm)
| ../../include/tbb/machine/gcc_armv7.h:39:2: error: #error Threading
Building Blocks ARM port requires an ARMv7-a architecture.
| make[1]: *** [concurrent_hash_map.o] Error 1
>
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
> meta-oe/recipes-support/tbb/tbb_4.1.bb | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb
> index 2337bdd..48427ee 100644
> --- a/meta-oe/recipes-support/tbb/tbb_4.1.bb
> +++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
> @@ -6,7 +6,7 @@ DESCRIPTION = "Parallelism library for C++ - runtime files \
> HOMEPAGE = "http://threadingbuildingblocks.org/"
> LICENSE = "GPLv2"
> LIC_FILES_CHKSUM = "file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1"
> -PRDATE = "20130116"
> +PRDATE = "20130314"
> PR = "r${PRDATE}"
>
> SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz \
> @@ -15,8 +15,8 @@ SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_relea
>
> S = "${WORKDIR}/tbb41_${PRDATE}oss/"
>
> -SRC_URI[md5sum] = "3809790e1001a1b32d59c9fee590ee85"
> -SRC_URI[sha256sum] = "4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6"
> +SRC_URI[md5sum] = "ed4af7ccfa122f16cf9920b241633a3a"
> +SRC_URI[sha256sum] = "32fd5979971b772caa96d40646cee585ed0070516ba2dbbcb1f9b6033d08a92d"
>
> do_compile() {
> oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4
> --
> 1.8.1.2
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [meta-oe][PATCH v2] tbb: update to 4.1 Update 3 version from 20130314
2013-04-09 9:58 ` Martin Jansa
@ 2013-04-15 18:00 ` Marcin Juszkiewicz
0 siblings, 0 replies; 3+ messages in thread
From: Marcin Juszkiewicz @ 2013-04-15 18:00 UTC (permalink / raw)
To: openembedded-devel
ARMv7a support was added in 4.1 Update 3
Older ARM cores support was added by me.
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
.../tbb/allow-to-build-for-older-arm-cores.patch | 30 ++++++++++++++++++++++
meta-oe/recipes-support/tbb/tbb_4.1.bb | 7 ++---
2 files changed, 34 insertions(+), 3 deletions(-)
create mode 100644 meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch
diff --git a/meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch b/meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch
new file mode 100644
index 0000000..cd2ec94
--- /dev/null
+++ b/meta-oe/recipes-support/tbb/tbb/allow-to-build-for-older-arm-cores.patch
@@ -0,0 +1,30 @@
+From: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
+Description: Allow to build TBB for ARM cores older than ARMv7a
+
+| ../../include/tbb/machine/gcc_armv7.h:39:2: error: #error Threading
+Building Blocks ARM port requires an ARMv7-a architecture.
+| make[1]: *** [concurrent_hash_map.o] Error 1
+
+https://bugs.launchpad.net/linaro-oe/+bug/1167144
+
+Upstream-status: pending
+
+---
+ include/tbb/tbb_machine.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- tbb41_20130314oss.orig/include/tbb/tbb_machine.h
++++ tbb41_20130314oss/include/tbb/tbb_machine.h
+@@ -237,11 +237,11 @@ template<> struct atomic_selector<8> {
+ #include "machine/linux_intel64.h"
+ #elif __ia64__
+ #include "machine/linux_ia64.h"
+ #elif __powerpc__
+ #include "machine/mac_ppc.h"
+- #elif __arm__
++ #elif __ARM_ARCH_7A__
+ #include "machine/gcc_armv7.h"
+ #elif __TBB_GCC_BUILTIN_ATOMICS_PRESENT
+ #include "machine/gcc_generic.h"
+ #endif
+ #include "machine/linux_common.h"
diff --git a/meta-oe/recipes-support/tbb/tbb_4.1.bb b/meta-oe/recipes-support/tbb/tbb_4.1.bb
index a159321..96137bc 100644
--- a/meta-oe/recipes-support/tbb/tbb_4.1.bb
+++ b/meta-oe/recipes-support/tbb/tbb_4.1.bb
@@ -6,17 +6,18 @@ DESCRIPTION = "Parallelism library for C++ - runtime files \
HOMEPAGE = "http://threadingbuildingblocks.org/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=2c7f2caf277a3933e3acdf7f89d54cc1"
-PRDATE = "20130116"
+PRDATE = "20130314"
PR = "r${PRDATE}"
SRC_URI = "http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb41_${PRDATE}oss_src.tgz \
file://cross-compile.patch \
+ file://allow-to-build-for-older-arm-cores.patch \
file://tbb.pc"
S = "${WORKDIR}/tbb41_${PRDATE}oss/"
-SRC_URI[md5sum] = "3809790e1001a1b32d59c9fee590ee85"
-SRC_URI[sha256sum] = "4ae2c10899e3b6ef2f686013ec5901fc658444ca90178efaca6014b0665c34b6"
+SRC_URI[md5sum] = "ed4af7ccfa122f16cf9920b241633a3a"
+SRC_URI[sha256sum] = "32fd5979971b772caa96d40646cee585ed0070516ba2dbbcb1f9b6033d08a92d"
do_compile() {
oe_runmake compiler=gcc arch=${HOST_ARCH} runtime=cc4
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-15 18:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-04 19:05 [meta-oe][PATCH] tbb: update to 4.1 Update 3 version from 20130314 Marcin Juszkiewicz
2013-04-09 9:58 ` Martin Jansa
2013-04-15 18:00 ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.