File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
1515 - name : Checkout code
1616 uses : actions/checkout@v2
1717
18- - name : install libva-drm2
18+ - name : install libdrm-dev
1919 run : |
2020 sudo apt-get update
21- sudo apt-get install -y libva-drm2
21+ sudo apt-get install -y libdrm-dev
2222
2323 - name : build ffmpeg
2424 run : |
Original file line number Diff line number Diff line change 11FROM ubuntu:20.04 AS build
22
3+ ENV DEBIAN_FRONTEND noninteractive
4+
35RUN apt-get update \
4- && apt-get -y --no-install-recommends install build-essential curl ca-certificates libdrm -dev \
6+ && apt-get -y --no-install-recommends install build-essential curl ca-certificates libva -dev \
57 && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
68 && update-ca-certificates
79
Original file line number Diff line number Diff line change @@ -220,7 +220,9 @@ mkdir -p "$PACKAGES"
220220mkdir -p " $WORKSPACE "
221221
222222export PATH=" ${WORKSPACE} /bin:$PATH "
223- export PKG_CONFIG_PATH=" /usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig"
223+ PKG_CONFIG_PATH=" /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig"
224+ PKG_CONFIG_PATH+=" :/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/lib64/pkgconfig"
225+ export PKG_CONFIG_PATH
224226
225227if ! command_exists " make" ; then
226228 echo " make not installed." ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND noninteractive
66ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
77
88RUN apt-get update \
9- && apt-get -y --no-install-recommends install build-essential curl ca-certificates libdrm -dev \
9+ && apt-get -y --no-install-recommends install build-essential curl ca-certificates libva -dev \
1010 && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
1111 && update-ca-certificates
1212
Original file line number Diff line number Diff line change 11FROM nvidia/cuda:11.1-devel-ubuntu20.04 AS build
22
3+ ENV DEBIAN_FRONTEND noninteractive
34ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
45
56RUN apt-get update \
6- && apt-get -y --no-install-recommends install build-essential curl ca-certificates python3 \
7+ && apt-get -y --no-install-recommends install build-essential curl ca-certificates \
78 && apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
89 && update-ca-certificates
910
You can’t perform that action at this time.
0 commit comments