I am a complete beginner with TensorFlow and Bazel. My goal is to build an application that currently runs on a Jetson TX2 with TensorFlow 1.13.1 and migrate it to a Jetson Orin NX running JetPack 6. I learned that JetPack 6 is compatible with TensorFlow 2.16.1. To build TensorFlow 2.16.1, I need Bazel 6.5.0 and Clang 17.0.6.
I followed the official TensorFlow source installation guide here to install Bazel 6.5.0 but consistently encountered the error “unable to locate package bazel.” I was able to install TensorFlow 2.16.1 using NVIDIA’s guide , but I am now stuck with the Bazel and Clang installation issue. Could you please help me resolve this problem? Any advice or guidance would be greatly appreciated.
Thank you for the information. I have a few additional questions:
in the Jetson TX2 environment, we used TensorFlow 1.13.1 and built our application code within the TensorFlow directory using Bazel 0.19.2. Can we use the same setup with JetPack 6, or is it mandatory to use TensorFlow 2.16.1 with Bazel 6.5.0? if yes ,Is it possible to use any version of Bazel to build application code with TensorFlow 1.13.1?
Just to clarify, we are not using Clang or Bazel to build TensorFlow itself; we intend to use Bazel specifically to build our application code that integrates with TensorFlow.