How to compile only libtorch on TX2, I don't use pytorch..

How to compile only libtorch on TX2, I don’t use pytorch

Hi,

The build procedure for the PyTorch wheels is here, so you could modify it to only build libtorch if you need:
https://devtalk.nvidia.com/default/topic/1049071/jetson-nano/pytorch-for-jetson-nano-version-1-3-0-now-available/

Could you check if this script can meet your requirement?
https://github.com/dusty-nv/jetson-reinforcement/blob/master/CMakePreBuild.sh#L128

Thanks.