Skip to content

cmake(cuda): repair ccbin, re-implement execute_process() cache#17745

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:cuda_fix_ccbin
Jul 8, 2020
Merged

cmake(cuda): repair ccbin, re-implement execute_process() cache#17745
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:cuda_fix_ccbin

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Jul 3, 2020

Previously added ccbin option into CUDA_NVCC_FLAGS breaks other CUDA scripts (which expect CUDA_HOST_COMPILER only).

resolves #17704

force_builders_only=Custom,Custom Win
buildworker:Custom=linux-4
xbuild_image:Custom=ubuntu-cuda:18.04
build_image:Custom=ubuntu-cuda11:18.04
build_image:Custom Win=cuda11
Xbuild_image:Custom Win=cuda10

- preventive fix for arch "11.0" (CUDA_ARCH_BIN_OR_PTX_10 bug)
- new var: OPENCV_CUDA_DETECTION_NVCC_FLAGS
- new var: OPENCV_CMAKE_CUDA_DEBUG
@alalek
Copy link
Copy Markdown
Member Author

alalek commented Jul 8, 2020

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug category: build/install category: gpu/cuda (contrib) OpenCV 4.0+: moved to opencv_contrib port/backport done Label for maintainers. Authors of PR can ignore this

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails to build with CUDA enabled

2 participants