| ... | ... | @@ -30,11 +30,10 @@ cd %APPVEYOR_BUILD_FOLDER% |
| 30 | 30 | SET "PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%" |
| 31 | 31 | SET "MSYSTEM=MINGW64" |
| 32 | 32 | |
| 33 | | bash -lc "pacman -Syu --needed --noconfirm" |
| 34 | | bash -lc "pacman -Su --needed --noconfirm" |
| 33 | bash -lc "yes | pacman -Syu --needed --noconfirm" |
| 34 | bash -lc "yes | pacman -Su --needed --noconfirm" |
| 35 | 35 | |
| 36 | | bash -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" |
| 36 | bash -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" |
| 37 | 37 | |
| 38 | 38 | bash -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" |
| 39 | 39 | |
| 40 | | @echo "MinGW build successful" |