From 6073da284368605ebd1f26ed66b79690441ec474 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sun, 23 Jan 2022 14:34:34 +0400 Subject: [PATCH] Disable libvpx unit tests in Dockerfile & prepare.py --- Telegram/build/docker/centos_env/Dockerfile | 14 +++++++------- Telegram/build/prepare/prepare.py | 4 +++- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Telegram/build/docker/centos_env/Dockerfile b/Telegram/build/docker/centos_env/Dockerfile index 5f4c935ce2..2d579012ba 100644 --- a/Telegram/build/docker/centos_env/Dockerfile +++ b/Telegram/build/docker/centos_env/Dockerfile @@ -153,13 +153,13 @@ RUN git clone -b v1.11.0 --depth=1 $GIT/webmproject/libvpx.git WORKDIR libvpx RUN ./configure \ - --target=x86_64-linux-gcc \ - --disable-examples \ - --disable-tools \ - --disable-docs \ - --enable-vp8 \ - --enable-vp9 \ - --enable-webm-io + --disable-examples \ + --disable-unit-tests \ + --disable-tools \ + --disable-docs \ + --enable-vp8 \ + --enable-vp9 \ + --enable-webm-io RUN make -j$(nproc) RUN make DESTDIR="$LibrariesPath/libvpx-cache" install diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index 48a7242de3..c347e8aba4 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -400,7 +400,7 @@ if customRunCommand: stage('patches', """ git clone https://github.com/desktop-app/patches.git cd patches - git checkout 1206363d59 + git checkout 58ac8663f5 """) stage('depot_tools', """ @@ -649,6 +649,7 @@ depends:yasm/yasm ./configure --prefix=$USED_PREFIX \ --target=arm64-darwin20-gcc \ --disable-examples \ + --disable-unit-tests \ --disable-tools \ --disable-docs \ --enable-vp8 \ @@ -665,6 +666,7 @@ depends:yasm/yasm ./configure --prefix=$USED_PREFIX \ --target=x86_64-darwin20-gcc \ --disable-examples \ + --disable-unit-tests \ --disable-tools \ --disable-docs \ --enable-vp8 \