master
Simon Bruder 2020-10-23 16:51:57 +02:00
parent f49b667bf3
commit ce8fa80c82
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
2 changed files with 9 additions and 0 deletions

View File

@ -94,6 +94,15 @@ RUN apt-get -y install \
x264 \
x265
# ROCm (AMD Radeon OpenCL)
# The gdb packages is necessary for opencl to work (why?)
COPY rocm.gpg /etc/apt/trusted.gpg.d/
RUN echo 'deb http://repo.radeon.com/rocm/apt/debian/ xenial main' > /etc/apt/sources.list.d/rocm.list \
&& apt-get update \
&& apt-get -y install rocm-opencl rocm-gdb \
&& rm /etc/OpenCL/vendors/amdocl64* \
&& echo /opt/rocm-*/opencl/lib/libamdocl64.so > /etc/OpenCL/vendors/amdocl64.icd
# models are at wrong location (whyever the package installs it there)
RUN cp -r /usr/share/vapoursynth-waifu2x-models/ /usr/lib/x86_64-linux-gnu/vapoursynth/models/

BIN
rocm.gpg Normal file

Binary file not shown.