Enable NVIDIA Performance Primitives
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Luca 2021-12-28 16:42:20 +01:00
parent b71c1cc06f
commit 26fe783c8e
2 changed files with 4 additions and 4 deletions

View File

@ -25,8 +25,8 @@ steps:
mkdir /usr/local/src/ffmpeg mkdir /usr/local/src/ffmpeg
cd /usr/local/src/ffmpeg cd /usr/local/src/ffmpeg
apt-get source ffmpeg apt-get source ffmpeg
echo 'CONFIG+= --enable-nvenc --enable-cuda' >> $(ls ffmpeg-*/debian/rules) echo 'CONFIG+= --enable-cuda --enable-libnpp --enable-nonfree' >> "$(ls ffmpeg-*/debian/rules)"
cd ffmpeg-* && dpkg-buildpackage -r -b -j12 && cd .. cd ffmpeg-* && dpkg-buildpackage -r -b -j$(nproc) && cd ..
cp *.deb /drone/src cp *.deb /drone/src
- name: release - name: release

View File

@ -14,8 +14,8 @@ RUN make && make install
WORKDIR /usr/local/src/ffmpeg WORKDIR /usr/local/src/ffmpeg
RUN apt-get source ffmpeg RUN apt-get source ffmpeg
RUN ls -lah ffmpeg-*/debian/rules RUN ls -lah ffmpeg-*/debian/rules
RUN echo 'CONFIG+= --enable-nvenc --enable-cuda' >> $(ls ffmpeg-*/debian/rules) RUN echo 'CONFIG+= --enable-cuda --enable-libnpp --enable-nonfree' >> "$(ls ffmpeg-*/debian/rules)"
RUN cd ffmpeg-* && dpkg-buildpackage -r -b -j12 RUN cd ffmpeg-* && dpkg-buildpackage -r -b -j$(nproc)
RUN ls *.deb RUN ls *.deb
RUN dpkg -i \ RUN dpkg -i \
ffmpeg_4.3.3-0+deb11u1_amd64.deb \ ffmpeg_4.3.3-0+deb11u1_amd64.deb \