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:
parent
5de72613b9
commit
b95c7dd6cc
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user