This commit is contained in:
parent
c7901e6940
commit
4839af9ba6
@ -68,7 +68,7 @@ RUN sed -i -e "s/gencode arch=compute_..,code=sm_../gencode arch=compute_${CUDA_
|
|||||||
# --enable-libvorbis # xxxx
|
# --enable-libvorbis # xxxx
|
||||||
--enable-cuda --enable-cuda-sdk --enable-cuda-nvcc --enable-nvenc --enable-cuvid --enable-libnpp \
|
--enable-cuda --enable-cuda-sdk --enable-cuda-nvcc --enable-nvenc --enable-cuvid --enable-libnpp \
|
||||||
--extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 && \
|
--extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 && \
|
||||||
make && \
|
make -j4 && \
|
||||||
cp ffmpeg /tmp/ffmpeg-turing && \
|
cp ffmpeg /tmp/ffmpeg-turing && \
|
||||||
cp ffplay /tmp/ffplay-turing
|
cp ffplay /tmp/ffplay-turing
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ RUN sed -i -e "s/gencode arch=compute_..,code=sm_../gencode arch=compute_${CUDA_
|
|||||||
# --enable-libvorbis # xxxx
|
# --enable-libvorbis # xxxx
|
||||||
--enable-cuda --enable-cuda-sdk --enable-cuda-nvcc --enable-nvenc --enable-cuvid --enable-libnpp \
|
--enable-cuda --enable-cuda-sdk --enable-cuda-nvcc --enable-nvenc --enable-cuvid --enable-libnpp \
|
||||||
--extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 && \
|
--extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 && \
|
||||||
make && \
|
make -j4 && \
|
||||||
cp ffmpeg /tmp/ffmpeg-pascal && \
|
cp ffmpeg /tmp/ffmpeg-pascal && \
|
||||||
cp ffplay /tmp/ffplay-pascal
|
cp ffplay /tmp/ffplay-pascal
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user