Skip to content

Commit

Permalink
updated opencv script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishaan-Datta committed Sep 1, 2024
1 parent 5f60400 commit 3f9cfb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containers/scripts/install-opencv-cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ echo "------------------------------------"
mkdir release
cd release/
# CUDA_ARCH_BIN 8.7 is AGX orin
# cmake -D WITH_CUDA=ON -D WITH_CUDNN=ON -D CUDA_ARCH_BIN="7.2,8.7" -D CUDA_ARCH_PTX="" -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${version}/modules -D WITH_GSTREAMER=ON -D WITH_LIBV4L=ON -D BUILD_opencv_python3=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
cmake -D WITH_CUDA=ON -D WITH_CUDNN=ON -D CUDA_ARCH_BIN="7.2,8.7" -D CUDA_ARCH_PTX="" -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${version}/modules -D WITH_GSTREAMER=ON -D WITH_LIBV4L=ON -D BUILD_opencv_python3=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. -D CPACK_BINARY_DEB=ON -D CUDA_FAST_MATH=ON -D ENABLE_NEON=ON -D WITH_CUBLAS=ON -D WITH_GTK=ON -D WITH_TBB=ON
# missing cudnn version
cmake -D WITH_CUDA=ON -D WITH_CUDNN=ON -D CUDA_ARCH_BIN="7.2,8.7" -D CUDA_ARCH_PTX="" -D OPENCV_GENERATE_PKGCONFIG=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${version}/modules -D WITH_GSTREAMER=ON -D WITH_LIBV4L=ON -D BUILD_opencv_python3=ON -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D BUILD_EXAMPLES=OFF -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local .. -D CPACK_BINARY_DEB=ON -D CUDA_FAST_MATH=ON -D ENABLE_NEON=ON -D WITH_CUBLAS=ON -D WITH_GTK=ON -D WITH_TBB=ON
make -j$(nproc)

echo "------------------------------------"
Expand Down

0 comments on commit 3f9cfb5

Please sign in to comment.