TBB Intel Threading Building Blocks for Raspberry Pi 3

So, I'm trying to compile Intel TBB C ++ library, which provides concurrency in programs. I especially need to use C ++ React, which is a library that provides a reactive library (like asynchronous loops) for the project I'm doing.

I figured out how to compile it for Raspberry Pi 2. But my problem is that the manuals I saw only updated for the ARM-7a architecture.

Currently, when I try to create an assembly that uses TBB as a dependency, I get this error:

In file included from /home/pi/tbb43_20150611oss/include/tbb/tbb_machine.h:247:0,
             from /home/pi/tbb43_20150611oss/include/tbb/task.h:25,
             from /home/pi/tbb43_20150611oss/include/tbb/task_group.h:24,
             from /home/pi/cpp.react-master/include/react/engine/PulsecountEngine.h:18,
             from /home/pi/cpp.react-master/src/engine/PulsecountEngine.cpp:7:
/home/pi/tbb43_20150611oss/include/tbb/machine/gcc_armv7.h:31:2: error: #error compilation requires an ARMv7-a architecture.
 #error compilation requires an ARMv7-a architecture.

I just want to know how I can use the TBB port on ARM-53 for the new Raspberry Pi.

A simple solution, such as replacing _ARM_ARCH_7A_ with gcc_arm7.h, would be nice, but how do people go about porting TBB for other architectures?

+4
1

TBB (, - ), " " .

TBB ARMv8, :

  • ARMv8 ARMv7 , 30 gcc_arm7.h ARMv8;
  • ARMv8 ARMv7 , gcc_arm8.h( gcc_arm v7 v8) tbb_machine.h 246-248;
  • , gcc ARMv8 , gcc_generic.h ARMv8 (. tbb_machine.h: 249)

, make, make test, , TBB .

+3

All Articles