File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Original file line number Diff line number Diff line change @@ -371,20 +371,20 @@ CFLAGS="-I$WORKSPACE/include"
371
371
LDFLAGS=" -L$WORKSPACE /lib"
372
372
if command -v nvcc > /dev/null ; then
373
373
if build " nv-codec" ; then
374
- download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n9.1.23 .0/nv-codec-headers-9.1.23 .0.tar.gz" " nv-codec-headers-9.1.23 .0.tar.gz"
375
- cd " $PACKAGES " /nv-codec-headers-n9.1.23 .0 || exit
376
- sed -i " s#PREFIX = /usr/local#PREFIX = ${WORKSPACE} #g" " $PACKAGES " /nv-codec-headers-n9.1.23 .0/Makefile
374
+ download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n10.0.26 .0/nv-codec-headers-10.0.26 .0.tar.gz" " nv-codec-headers-10.0.26 .0.tar.gz"
375
+ cd " $PACKAGES " /nv-codec-headers-10.0.26 .0 || exit
376
+ sed -i " s#PREFIX = /usr/local#PREFIX = ${WORKSPACE} #g" " $PACKAGES " /nv-codec-headers-10.0.26 .0/Makefile
377
377
execute make install
378
378
build_done " nv-codec"
379
379
fi
380
380
CFLAGS=" $CFLAGS -I/usr/local/cuda/include"
381
381
LDFLAGS=" $LDFLAGS -L/usr/local/cuda/lib64"
382
- ADDITIONAL_CONFIGURE_OPTIONS=" $ADDITIONAL_CONFIGURE_OPTIONS --enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-libnpp"
382
+ ADDITIONAL_CONFIGURE_OPTIONS=" $ADDITIONAL_CONFIGURE_OPTIONS --enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-libnpp --enable-cuda-llvm "
383
383
fi
384
384
385
385
build " ffmpeg"
386
- download " https://git.ffmpeg.org/gitweb/ffmpeg.git/snapshot/192d1d34eb3668fa27f433e96036340e1e5077a0. tar.gz" " ffmpeg-snapshot .tar.bz2"
387
- cd " $PACKAGES " /ffmpeg-192d1d3 / || exit
386
+ download " https://github.com/FFmpeg/FFmpeg/archive/n4.3. tar.gz" " ffmpeg-4.3 .tar.bz2"
387
+ cd " $PACKAGES " /FFmpeg-n4.3 / || exit
388
388
# shellcheck disable=SC2086
389
389
./configure $ADDITIONAL_CONFIGURE_OPTIONS \
390
390
--pkgconfigdir=" $WORKSPACE /lib/pkgconfig" \
You can’t perform that action at this time.
0 commit comments