Skip to content

Commit

Permalink
appveyor: use MSYS2 shaderc package
Browse files Browse the repository at this point in the history
There's a shaderc package in MSYS2 now. Using it should shave ten
minutes off the appveyor build.
  • Loading branch information
rossy committed Dec 19, 2020
1 parent 4029a69 commit 2bc88a2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions TOOLS/appveyor-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pacman -S --noconfirm --needed \
$MINGW_PACKAGE_PREFIX-lua51 \
$MINGW_PACKAGE_PREFIX-ninja \
$MINGW_PACKAGE_PREFIX-rubberband \
$MINGW_PACKAGE_PREFIX-shaderc \
$MINGW_PACKAGE_PREFIX-uchardet \
$MINGW_PACKAGE_PREFIX-vulkan

Expand Down Expand Up @@ -51,17 +52,6 @@ pacman -Sc --noconfirm
make -j4 install
)

# Compile shaderc
(
git clone --depth=1 https://github.com/google/shaderc && cd shaderc
"$PYTHON" utils/git-sync-deps

mkdir build && cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DSHADERC_SKIP_TESTS=ON \
-DCMAKE_INSTALL_PREFIX=$MINGW_PREFIX ..
ninja install
)

# Compile SPIRV-Cross
(
git clone --depth=1 https://github.com/KhronosGroup/SPIRV-Cross && cd SPIRV-Cross
Expand Down

0 comments on commit 2bc88a2

Please sign in to comment.