respect CUDA_HOST_COMPILER when detecting CUDA arch#17526
respect CUDA_HOST_COMPILER when detecting CUDA arch#17526opencv-pushbot merged 1 commit intoopencv:masterfrom
Conversation
4b83cf1 to
c6638d6
Compare
|
This PR brakes the build on Jetson TX1 and TX2
|
* use only supported CC in the list * workaround of opencv#17526
|
This change has broken CUDA builds. Please undo it. |
|
@NHarishGit , I appreciate your comment.
OS, architecture, CUDA version, compiler version, cmake version. |
OS: WIN 10 x64 2004 build I spent quite a few hours to figure out that the generated CMAKE file for NVCCC has NVCC_FLAGS set wrongly without quotes around the path for cl.exe, which breaks on windows system on C:/program files (x86)/blah blah blah. |
|
@cyyever any comments ?
|
My default g++ is g++-10, without this patch, nvcc would use g++-10 and because no CUDA supports g++-10, it would failed to detect my CUDA arch even if I specify CUDA_HOST_COMPILER. would fail before my PR. So should we change it too? |
|
@cyyever, @NHarishGit |
Looks good to me @tomoaki0705. Do you know tentative plan for 4.4.0 release ? |
|
@NHarishGit , thank you for checking. I don't know the release schedule of 4.4.0. Best |
* use only supported CC in the list * workaround of opencv#17526
Uh oh!
There was an error while loading. Please reload this page.