mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-27 17:21:05 +00:00
configure: detect nvcc without sm_30 support
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
This commit is contained in:
parent
43295ae6a9
commit
c67f354be8
10
configure
vendored
10
configure
vendored
@ -4388,8 +4388,16 @@ else
|
|||||||
NVCC_C=""
|
NVCC_C=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set_default nvcc
|
||||||
|
|
||||||
|
if enabled cuda_nvcc; then
|
||||||
|
if $nvcc $nvccflags_default 2>&1 | grep -qi unsupported; then
|
||||||
|
nvccflags_default="-gencode arch=compute_60,code=sm_60 -O2"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
set_default arch cc cxx doxygen pkg_config ranlib strip sysinclude \
|
set_default arch cc cxx doxygen pkg_config ranlib strip sysinclude \
|
||||||
target_exec x86asmexe nvcc
|
target_exec x86asmexe
|
||||||
enabled cross_compile || host_cc_default=$cc
|
enabled cross_compile || host_cc_default=$cc
|
||||||
set_default host_cc
|
set_default host_cc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user