[Buildroot] [PATCH 1/2] tbb: new package

Bradford Barr bradford at density.io
Wed Sep 27 15:49:46 UTC 2017


Hello,

On Wed, Sep 27, 2017 at 11:36 AM, Samuel Martin <s.martin49 at gmail.com> wrote:
> Hi,
>
> On Tue, Sep 26, 2017 at 10:35 PM, Bradford Barr <bradford at density.io> wrote:
>> From: bradford barr <bradford at density.io>
>>
>> Intel Threading Building Blocks (TBB), is a C++ library to help developers
>> write highly parallelized applications. OpenCV uses it to accelerate some of
>> it's more heavy weight procedures.
>>
>> Signed-off-by: bradford barr <bradford at density.io>
> [...]
>> --- /dev/null
>> +++ b/package/tbb/Config.in
>> @@ -0,0 +1,13 @@
>> +config BR2_PACKAGE_TBB
>> +       bool "tbb"
>> +       depends on BR2_TOOLCHAIN_HAS_THREADS
>> +       help
>> +         Intel(R) Threading Building Blocks (Intel(R) TBB) lets you easily
>> +         write parallel C++ programs that take full advantage of multicore
>> +         performance, that are portable, composable and have future-proof
>> +         scalability.
>> +
>> +         https://www.threadingbuildingblocks.org/
>> +
>> +comment "tbb needs a toolchain w/ threads"
>> +       depends on !BR2_TOOLCHAIN_HAS_THREADS
>
> I wonder whether TBB is available for all architecture supported by BR.

I've only seen TBB used with ARMv{7,8}, x86 and x86-64. Maybe it would
compile for other architectures? I'm thinking that I might just
require x86/64 or ARM because those are the machines I can test with.
I guess I could try to compile TBB for every platform supported by
buildroot? Is there an easy way to do that?

>
> Regards,
>
> --
> Samuel

B


More information about the buildroot mailing list