Skip to content

Instantly share code, notes, and snippets.

@legath
Created November 24, 2022 20:06
Show Gist options
  • Save legath/77306bb6a106aa50b67141f164946fd4 to your computer and use it in GitHub Desktop.
Save legath/77306bb6a106aa50b67141f164946fd4 to your computer and use it in GitHub Desktop.
python setup.py install -DCMAKE_C_COMPILER=/usr/bin/gcc-11 -DCMAKE_CXX_COMPILER=/usr/bin/c++-11 -DWITH_TBB=ON -DENABLE_FAST_MATH=1 -DCUDA_FAST_MATH=1 -DWITH_CUBLAS=1 -DWITH_CUDA=ON -DBUILD_opencv_cudacodec=OFF -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON -DWITH_V4L=ON -DWITH_QT=OFF -DWITH_OPENGL=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DINSTALL_C_EXAMPLES=OFF -DBUILD_EXAMPLES=OFF -DOPENCV_EXTRA_MODULES_PATH=/path/to/cloned/repo/opencv-python/opencv_contrib/modules -DWITH_FFMPEG=OFF -DCUDA_ARCH_BIN="8.6" --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment