1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 15:22:09 +00:00

appveyor: Use MSYS2's spirv-cross package instead of building it

This commit is contained in:
Biswapriyo Nath 2021-02-22 19:08:14 +05:30 committed by Jan Ekström
parent 5de72613b9
commit b95c7dd6cc

View File

@ -24,6 +24,7 @@ pacman -S --noconfirm --needed \
$MINGW_PACKAGE_PREFIX-ninja \
$MINGW_PACKAGE_PREFIX-rubberband \
$MINGW_PACKAGE_PREFIX-shaderc \
$MINGW_PACKAGE_PREFIX-spirv-cross \
$MINGW_PACKAGE_PREFIX-uchardet \
$MINGW_PACKAGE_PREFIX-vulkan
@ -51,12 +52,3 @@ pacman -Sc --noconfirm
--enable-schannel
make -j4 install
)
# Compile SPIRV-Cross
(
git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Cross && cd SPIRV-Cross
mkdir build && cd build
cmake -GNinja -DSPIRV_CROSS_SHARED=ON -DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX ..
ninja install
)