Use clang-cl to build libyuv in the AppVeyor build
Add comment to recommend clang-cl in libyuv.cmd
diff --git a/appveyor.yml b/appveyor.yml
index 84b278d..1c7aea2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -24,7 +24,9 @@
- dav1d.cmd
- libjpeg.cmd
- zlibpng.cmd
+ - set "CC=clang-cl" && set "CXX=clang-cl"
- libyuv.cmd
+ - set "CC=" && set "CXX="
- cd ..
# Configure with CMake
- mkdir build
diff --git a/ext/libyuv.cmd b/ext/libyuv.cmd
index c964235..a0ae63e 100755
--- a/ext/libyuv.cmd
+++ b/ext/libyuv.cmd
@@ -6,6 +6,10 @@
: # If you're running this on Windows, be sure you've already run this (from your VC2019 install dir):
: # "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"
+: # We recommend building libyuv with clang-cl on Windows, because most of libyuv's assembly code is
+: # written in GCC inline assembly syntax, which MSVC doesn't support. Run this if you have clang-cl
+: # installed:
+: # set "CC=clang-cl" && set "CXX=clang-cl"
git clone --single-branch https://chromium.googlesource.com/libyuv/libyuv