authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-02-09 00:47:13-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-02-09 00:47:13-05:00
log8e554561df7823e2aba0076f2fc98278df6cb8f2
tree7eeeaf4620f40e5a6203c9de91edbdab5e733a51
parent32c988a2d7920fcd3da50a13a1ae9abcd57daf50

appveyor: answer Yes to all pacman questions


1 files changed, 3 insertions(+), 4 deletions(-)

ci/appveyor/build_script.bat+3-4
......@@ -30,11 +30,10 @@ cd %APPVEYOR_BUILD_FOLDER%
3030SET "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%"
3131SET "MSYSTEM=MINGW64"
3232
33bash -lc "pacman -Syu --needed --noconfirm"
34bash -lc "pacman -Su --needed --noconfirm"
33bash -lc "yes | pacman -Syu --needed --noconfirm"
34bash -lc "yes | pacman -Su --needed --noconfirm"
3535
36bash -lc "pacman -S --needed --noconfirm make mingw64/mingw-w64-x86_64-make mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-clang mingw64/mingw-w64-x86_64-llvm mingw64/mingw-w64-x86_64-lld mingw64/mingw-w64-x86_64-gcc"
36bash -lc "yes | pacman -S --needed --noconfirm make mingw64/mingw-w64-x86_64-make mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-clang mingw64/mingw-w64-x86_64-llvm mingw64/mingw-w64-x86_64-lld mingw64/mingw-w64-x86_64-gcc"
3737
3838bash -lc "cd ${APPVEYOR_BUILD_FOLDER} && mkdir build && cd build && cmake .. -G""MSYS Makefiles"" -DCMAKE_INSTALL_PREFIX=$(pwd) -DZIG_LIBC_LIB_DIR=$(dirname $(cc -print-file-name=crt1.o)) -DZIG_LIBC_INCLUDE_DIR=$(echo -n | cc -E -x c - -v 2>&1 | grep -B1 ""End of search list."" | head -n1 | cut -c 2- | sed ""s/ .*//"") -DZIG_LIBC_STATIC_LIB_DIR=$(dirname $(cc -print-file-name=crtbegin.o)) && make && make install"
3939
40@echo "MinGW build successful"