There is nothing tricky in building OpenCV for the Jetson. As a matter of fact it’s really straightforward, as CUDA is already set up.
So download opencv and opencv-contrib and install the prerequisites.
I prefer to use cmake-qt-gui to configure, as there are several parameters to set.
Then, enable the extra modules, the WITH_… switches you need, configure, generate and build and install.
That’s all.