android: fix build issues with libmesa_anv_gen* libraries
[mesa.git] / scripts / appveyor_cygwin.bat
1 set PKGCACHE=C:\pkgcache
2 set CYGWIN_MIRROR=http://cygwin.mirror.constant.com
3
4 if _%arch%_ == _x64_ set SETUP=setup-x86_64.exe && set CYGWIN_ROOT=C:\cygwin64
5 if _%arch%_ == _x86_ set SETUP=setup-x86.exe && set CYGWIN_ROOT=C:\cygwin
6
7 set PATH=%CYGWIN_ROOT%\bin;%SYSTEMROOT%\system32
8
9 goto %1
10
11 :install
12 echo Updating Cygwin and installing build prerequsites
13 %CYGWIN_ROOT%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%PKGCACHE%" -g -P ^
14 bison,^
15 ccache,^
16 flex,^
17 glproto,^
18 libX11-devel,^
19 libX11-xcb-devel,^
20 libXdamage-devel,^
21 libXext-devel,^
22 libXfixes-devel,^
23 libexpat-devel,^
24 libllvm-devel,^
25 libxcb-dri2-devel,^
26 libxcb-glx-devel,^
27 libxcb-xfixes-devel,^
28 meson,^
29 ninja,^
30 python3-mako,^
31 zlib-devel
32 goto :eof
33
34 :build_script
35 bash -lc "cd $APPVEYOR_BUILD_FOLDER; meson _build -Degl=false --wrap-mode=nofallback && ninja -C _build"
36 goto :eof
37
38 :after_build
39 bash -lc "cd $APPVEYOR_BUILD_FOLDER; ninja -C _build test"
40 goto :eof