ruby-changes:58317
From: MSP-Greg <ko1@a...>
Date: Sat, 19 Oct 2019 03:04:19 +0900 (JST)
Subject: [ruby-changes:58317] 5c81e19b19 (master): appveyor.yml - MinGW - update for MSYS2 / Mingw-w64 (#2573)
https://git.ruby-lang.org/ruby.git/commit/?id=5c81e19b19 From 5c81e19b196e940b3233781b7ef0c5bfcbdee4f5 Mon Sep 17 00:00:00 2001 From: MSP-Greg <MSP-Greg@u...> Date: Fri, 18 Oct 2019 13:03:54 -0500 Subject: 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. diff --git a/appveyor.yml b/appveyor.yml index 28ca917..65a0542 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -98,7 +98,9 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L98 - 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/