Compare commits

...

3 Commits

Author SHA1 Message Date
Simon Bruder ce8fa80c82
Add ROCm 2020-10-23 16:52:03 +02:00
Simon Bruder f49b667bf3
Fix yuuno 2020-10-23 15:11:05 +02:00
Simon Bruder 1919075516
Use debian’s fftw3f 2020-10-23 15:10:42 +02:00
2 changed files with 11 additions and 17 deletions

View File

@ -18,27 +18,12 @@ RUN apt-get -y install \
build-essential \
wget
# required for DCTFilter
RUN cd /tmp \
&& wget http://www.fftw.org/fftw-3.3.8.tar.gz \
&& tar xvf fftw-3.3.8.tar.gz \
&& cd fftw-3.3.8 \
&& ./configure \
--enable-shared \
--enable-threads \
--enable-openmp \
--enable-sse2 \
--enable-avx2 \
--enable-float \
&& make -j 4 install \
&& cd .. \
&& rm -rf fftw-3.3.8
# Vapoursynth plugin build dependencies
RUN apt-get -y install \
autoconf \
cargo \
git \
libfftw3-dev \
libplacebo-dev \
libtool \
meson \
@ -109,12 +94,21 @@ 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/
RUN pip3 --no-cache-dir install \
tqdm \
yuuno 'prompt-toolkit<2.1.0,>=2.0.0' \
yuuno 'pygments>=2.4.1' \
&& yuuno jupyter install
ENV PYTHONPATH=/data/functions/:/usr/local/lib/vapoursynth-scripts/

BIN
rocm.gpg Normal file

Binary file not shown.