mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
ci: clone repos with shallow submodules
This commit is contained in:
parent
bc4003d219
commit
3e42139e13
@ -5,7 +5,8 @@ set -e
|
||||
rm -rf subprojects
|
||||
mkdir -p subprojects
|
||||
git clone https://code.videolan.org/videolan/libplacebo.git \
|
||||
--depth 1 --branch v6.338 --recurse-submodules subprojects/libplacebo
|
||||
--recurse-submodules --shallow-submodules \
|
||||
--depth=1 --branch v6.338 subprojects/libplacebo \
|
||||
|
||||
meson setup build \
|
||||
-Dlibplacebo:vulkan=disabled \
|
||||
|
@ -6,7 +6,7 @@ ln -snf . "$prefix_dir/usr"
|
||||
ln -snf . "$prefix_dir/local"
|
||||
|
||||
wget="wget -nc --progress=bar:force"
|
||||
gitclone="git clone --depth=1 --recursive"
|
||||
gitclone="git clone --depth=1 --recursive --shallow-submodules"
|
||||
|
||||
# -posix is Ubuntu's variant with pthreads support
|
||||
export CC=$TARGET-gcc-posix
|
||||
|
@ -5,7 +5,8 @@ set -e
|
||||
rm -rf subprojects
|
||||
mkdir -p subprojects
|
||||
git clone https://code.videolan.org/videolan/libplacebo.git \
|
||||
--depth 1 --recurse-submodules subprojects/libplacebo
|
||||
--recurse-submodules --shallow-submodules \
|
||||
--depth=1 --recurse-submodules subprojects/libplacebo
|
||||
|
||||
meson setup build \
|
||||
-Dlibmpv=true \
|
||||
|
Loading…
Reference in New Issue
Block a user