From 5c81e19b196e940b3233781b7ef0c5bfcbdee4f5 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Fri, 18 Oct 2019 13:03:54 -0500 Subject: [PATCH] appveyor.yml - MinGW - update for MSYS2 / Mingw-w64 (#2573) MSYS source code comes from both gcc.gnu.org & Mingw-w64. Updates to the Mingw-w64 source broke the MinGW build step. Fixes the issue until Mingw-w64 updates their source, then it should be reverted, see comments in code. --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 28ca917e8e..65a05425ec 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -98,7 +98,9 @@ for: - SET PATH=%ruby_path%\bin;C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH% - ruby --version build_script: - - pacman -Sy --noconfirm --noprogressbar --needed mingw-w64-x86_64-toolchain + - pacman -Syd --noconfirm --noprogressbar --needed mingw-w64-x86_64-binutils mingw-w64-x86_64-isl mingw-w64-x86_64-libiconv mingw-w64-x86_64-mpc mingw-w64-x86_64-gcc-libs mingw-w64-x86_64-windows-default-manifest mingw-w64-x86_64-winpthreads mingw-w64-x86_64-gcc + # when fixed in MSYS2 / Mingw-w64, remove above and use normal code below + #- pacman -Sy --noconfirm --noprogressbar --needed mingw-w64-x86_64-toolchain - pacman -S --noconfirm --noprogressbar --needed mingw-w64-x86_64-gdbm mingw-w64-x86_64-gmp mingw-w64-x86_64-libffi mingw-w64-x86_64-libyaml mingw-w64-x86_64-openssl mingw-w64-x86_64-ragel mingw-w64-x86_64-readline mingw-w64-x86_64-zlib - cd %APPVEYOR_BUILD_FOLDER% - set CFLAGS=-march=%MSYS2_ARCH:_=-% -mtune=generic -O3 -pipe