I have a project using tensorflow c++ API’s. I have downloaded the ‘gcc-4.8.5-aarch64’ jetpack 4.2 for cross compilation on amd64 to target Jetson TX2. However, I am not able to use the toolchain with bazel build. Are there any other dependencies which needs to be specified during the build?
JetPack4.2 is using gcc-7.3 and all the package are built with gcc-7.3 also.
Any special reason to use gcc-4.8.5?
I downloaded the package from ‘GCC Tool Chain for 64-bit BSP v32.1 - https://developer.nvidia.com/embedded/downloads#?search=cross&tx=$product,jetson_tx2’
There is a default gcc 7.3.0 integrated into the L4T.
You should be able to use it with bazel without issues.
Thank you for your response. I am trying to build a custom project which uses Tensorflow 1.13 C++ API and deployed on the Jetson TX2 platform which is flashed with Jetpack 4.2. I am facing build issues when I use Bazel 0.19, 0.21 and 0.24 as well to build my project (inside the Tensorflow 1.13 workspace)
I have referred the following links and used nonccl config parameter:
Since the build failed, I was trying to cross compile the same project on the host PC (to speed up the build process) which has all the Cuda Installations required for the host but however I could not succeed in the same.
Can you please provide the solutions to the above two approaches?
Is there syntactically a different command to use other than ‘gcc’? If so, can you please tell me. Thanks.