Skip to content
Snippets Groups Projects
Commit f74325e6 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

Merge branch 'opencv' into '2022'

OpenCV (add CUDA-support and contrib-extras)

See merge request hps-public/easybuild-repository!1234
parents eb12eca3 09ac4f9c
Branches
No related tags found
No related merge requests found
......@@ -59,6 +59,7 @@ dependencies = [
('Eigen', '3.3.9'),
('CUDA', '11.5', '', SYSTEM),
('cuDNN', '8.3.1.22', '-CUDA-11.5', SYSTEM),
('nvidia-Video_Codec_SDK', '11.1.5', '', SYSTEM),
('OpenGL', '2021b'),
]
......@@ -73,8 +74,20 @@ configopts += "-D ENABLE_PRECOMPILED_HEADERS=OFF "
configopts += "-D BUILD_EXAMPLES=ON "
configopts += "-D INSTALL_PYTHON_EXAMPLES=ON "
# configopts += "-D ENABLE_FAST_MATH=ON "
# configopts += "-D CUDA_FAST_MATH=ON "
configopts += "-D WITH_CUDA=ON "
configopts += "-D WITH_CUDNN=ON "
configopts += "-D WITH_CUBLAS=ON "
configopts += "-D WITH_CUFFT=ON "
configopts += "-D CUDA_ARCH_BIN='%(cuda_cc_space_sep)s' "
# configopts += "-D CUDA_ARCH_PTX='' "
configopts += "-D BUILD_CUDA_STUBS=ON "
configopts += "-D OPENCV_DNN_CUDA=ON "
configopts += "-D BUILD_opencv_cudacodec=ON "
configopts += "-D WITH_NVCUVID=ON "
configopts += "-D WITH_GSTREAMER=ON "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment