1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Arrange installed packages like ruby-loco

to fix a build error like:
https://ci.appveyor.com/project/ruby/ruby/builds/26547644/job/4j7n41e7in97a9kx

Basically copy-pasted what's currently done in MSP-Greg/ruby-loco.

Co-Authored-By: MSP-Greg <greg.mpls@gmail.com>
This commit is contained in:
Takashi Kokubun 2019-08-08 22:03:00 +09:00
parent 76bd0714cf
commit 2a6d7fad13
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -95,12 +95,8 @@ for:
- SET PATH=%ruby_path%\bin;C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
- ruby --version
build_script:
# always update database
- pacman -Sy
# 2019-May-31 delete below after next Appveyor msys2 update, also next line's "--nodeps"
- pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-python3 mingw-w64-x86_64-readline mingw-w64-x86_64-sqlite3
- pacman -S --noconfirm --needed --noprogressbar --nodeps mingw-w64-x86_64-toolchain
- pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-gdbm mingw-w64-x86_64-gmp mingw-w64-x86_64-libffi mingw-w64-x86_64-openssl mingw-w64-x86_64-pdcurses mingw-w64-x86_64-readline mingw-w64-x86_64-zlib
- pacman -S --noconfirm --needed --noprogressbar mingw-w64-x86_64-gdbm mingw-w64-x86_64-gettext 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
- set CXXFLAGS=%CFLAGS%