I heard that NVIDIA recommends using Docker for cross-compilation. Is there an official introductory page for this?
Hai, Chingbin!
We usually recommend using pre-built artifacts for both x86_64 and arm64, as we provide Debian packages, wheels, and containers.
To build from source, using the same architecture for build as for deployment will be a lot faster, so in this case building on Jetson directly. That’s because we don’t have a true cross-compilation toolchain and rely on qemu for arm64 emulation on x86_64.
Would you mind sharing why you’re interested in building from source? In this scenario, do you see issues with natively building on Jetson, and would true cross-compilation from x86_64 give you strong benefits?
Best,
Alexis Girault
Hi, Alexis. Thank you for the reply. Since our team has fewer Jetson devices than engineers, we would prefer to compile our programs on our respective host workstations.Is compiling via Docker/QEMU an officially supported compilation method by NVIDIA? If so, are there any explanatory webpages, links, or documentation available?
If still needed, here’s the documentation
https://docs.nvidia.com/jetson/archives/r39.2.1/DeveloperGuide/SD/Kernel/KernelCustomization.html