From 6eced5bd2aef2864883b510cdc95baa3f6c134f0 Mon Sep 17 00:00:00 2001 From: NamedKitten Date: Wed, 17 Oct 2018 08:30:33 +0100 Subject: [PATCH] Add log upload. --- scripts/build-mpv.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/build-mpv.sh b/scripts/build-mpv.sh index fee780a..c5a8ce9 100755 --- a/scripts/build-mpv.sh +++ b/scripts/build-mpv.sh @@ -1,10 +1,13 @@ #!/bin/bash -set -ex +set -x export OLDDIR=`pwd` export CFLAGS="-fPIC -Os" + +export V=0 VERBOSE=0 + rm -rf mpv-build git clone --depth 1 https://github.com/mpv-player/mpv-build mpv-build cd mpv-build @@ -30,7 +33,9 @@ echo "--disable-programs --disable-runtime-cpudetect --enable-small" > ffmpeg_op echo "--enable-libmpv-shared --prefix=/usr --disable-cplayer" > mpv_options echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options -./rebuild -j`nproc` +./rebuild -j`nproc` 2>&1 > tee build.log sudo ./install ccache -s +curl --upload-file build.log https://transfer.sh/KittehPlayer-build.log + cd $OLDDIR