File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Original file line number Diff line number Diff line change 872
872
873
873
if [[ " $OSTYPE " == " linux-gnu" ]]; then
874
874
if command_exists " nvcc" ; then
875
- if build " nv-codec" " 11.1.5.2" ; then
876
- download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.2/nv-codec-headers-11.1.5.2.tar.gz"
875
+ if build " nv-codec" " 11.0.10.2" ; then
876
+ # download "https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.2/nv-codec-headers-11.1.5.2.tar.gz"
877
+ download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.0.10.2/nv-codec-headers-11.0.10.2.tar.gz"
877
878
execute make PREFIX=" ${WORKSPACE} "
878
879
execute make install PREFIX=" ${WORKSPACE} "
879
- build_done " nv-codec" " 11.1.5 .2"
880
+ build_done " nv-codec" " 11.0.10 .2"
880
881
fi
881
- CFLAGS+=" -I/usr/local/cuda-11.2 /include"
882
- LDFLAGS+=" -L/usr/local/cuda-11.2 /lib64"
882
+ CFLAGS+=" -I/usr/local/cuda/include"
883
+ LDFLAGS+=" -L/usr/local/cuda/lib64"
883
884
CONFIGURE_OPTIONS+=(" --enable-cuda-nvcc" " --enable-cuvid" " --enable-nvenc" " --enable-cuda-llvm" )
884
885
885
886
if [ -z " $LDEXEFLAGS " ]; then
You can’t perform that action at this time.
0 commit comments