I have a cmake project which uses TBB. I have compiled TBB natively and there is no problem here. I have NVIDIA Jetson Tx2 Developer kit which has Linux 18.04 and aarch64 system. So, I want to cross compile my cmake project for it.
My pc uses:
- Linux 18.04,
- gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu compiler, (L4T Toolchain)
- tbb_2019 version
I have looked at the TBB's official installation document but couldn't find cross compile related things. I am new to TBB so can you tell me how to cross compile for aarch64 (if possible) step by step?
Thanks in advance.
- Development Tools
- General Support
- Intel® Threading Building Blocks
- Parallel Computing
This is a question that requires understanding of the TBB build process. I asked TBB developers to help through the internal email. You might also contact them directly:
1) Publicly on the forum: https://software.intel.com/en-us/forums/intel-threading-building-blocks
2) Directly to the team; In the linked documentation we have included the contact email Inteltbbdevelopers@intel.com
Have you followed the instructions described at TBB cmake modules page?
In particular, source package integration instructions that include steps to build the library from the sources (see TBBBuild module). You might want to specify here custom make args to cross compile the library (e.g. "arch=arm64").
Hope this helps!