You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2019/05/31 06:45:32 UTC
[arrow] branch master updated: ARROW-5448: [C++][CI][MinGW] Ensure
updating GCC and Python [skip travis]
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new bf009d1 ARROW-5448: [C++][CI][MinGW] Ensure updating GCC and Python [skip travis]
bf009d1 is described below
commit bf009d127b8caf5225fa582d337a1fcaa9e0125d
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Fri May 31 15:45:22 2019 +0900
ARROW-5448: [C++][CI][MinGW] Ensure updating GCC and Python [skip travis]
"import numpy" is failed because GCC and Python are older than GCC and Python that are used for building numpy binary packages.
We can run "import numpy" successfully by upgrading GCC and Python to the latest versions.
Author: Sutou Kouhei <ko...@clear-code.com>
Closes #4428 from kou/glib-appveyor and squashes the following commits:
15fb6670 <Sutou Kouhei> Ensure updating GCC and Python
---
ci/appveyor-cpp-setup-mingw.bat | 50 ++++++++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 20 deletions(-)
diff --git a/ci/appveyor-cpp-setup-mingw.bat b/ci/appveyor-cpp-setup-mingw.bat
index 94fbb40..18f66c5 100644
--- a/ci/appveyor-cpp-setup-mingw.bat
+++ b/ci/appveyor-cpp-setup-mingw.bat
@@ -24,26 +24,36 @@ if "%MSYSTEM%" == "MINGW32" (
)
set PATH=%MINGW_PREFIX%\bin;C:\msys64\usr\bin;%PATH%
-pacman --sync --refresh --noconfirm ^
- "ccache" ^
- "%MINGW_PACKAGE_PREFIX%-boost" ^
- "%MINGW_PACKAGE_PREFIX%-brotli" ^
- "%MINGW_PACKAGE_PREFIX%-cmake" ^
- "%MINGW_PACKAGE_PREFIX%-double-conversion" ^
- "%MINGW_PACKAGE_PREFIX%-flatbuffers" ^
- "%MINGW_PACKAGE_PREFIX%-gflags" ^
- "%MINGW_PACKAGE_PREFIX%-gobject-introspection" ^
- "%MINGW_PACKAGE_PREFIX%-gtest" ^
- "%MINGW_PACKAGE_PREFIX%-gtk-doc" ^
- "%MINGW_PACKAGE_PREFIX%-lz4" ^
- "%MINGW_PACKAGE_PREFIX%-meson" ^
- "%MINGW_PACKAGE_PREFIX%-protobuf" ^
- "%MINGW_PACKAGE_PREFIX%-python3-numpy" ^
- "%MINGW_PACKAGE_PREFIX%-rapidjson" ^
- "%MINGW_PACKAGE_PREFIX%-snappy" ^
- "%MINGW_PACKAGE_PREFIX%-thrift" ^
- "%MINGW_PACKAGE_PREFIX%-zlib" ^
- "%MINGW_PACKAGE_PREFIX%-zstd" || exit /B
+pacman --remove --noconfirm ^
+ %MINGW_PACKAGE_PREFIX%-gcc-ada ^
+ %MINGW_PACKAGE_PREFIX%-gcc-objc || exit /B
+pacman --sync --refresh --sysupgrade --noconfirm || exit /B
+pacman --sync --noconfirm ^
+ %MINGW_PACKAGE_PREFIX%-gcc ^
+ %MINGW_PACKAGE_PREFIX%-gcc-fortran ^
+ %MINGW_PACKAGE_PREFIX%-python3 ^
+ %MINGW_PACKAGE_PREFIX%-readline ^
+ %MINGW_PACKAGE_PREFIX%-sqlite3 || exit /B
+pacman --sync --noconfirm ^
+ ccache ^
+ %MINGW_PACKAGE_PREFIX%-boost ^
+ %MINGW_PACKAGE_PREFIX%-brotli ^
+ %MINGW_PACKAGE_PREFIX%-cmake ^
+ %MINGW_PACKAGE_PREFIX%-double-conversion ^
+ %MINGW_PACKAGE_PREFIX%-flatbuffers ^
+ %MINGW_PACKAGE_PREFIX%-gflags ^
+ %MINGW_PACKAGE_PREFIX%-gobject-introspection ^
+ %MINGW_PACKAGE_PREFIX%-gtest ^
+ %MINGW_PACKAGE_PREFIX%-gtk-doc ^
+ %MINGW_PACKAGE_PREFIX%-lz4 ^
+ %MINGW_PACKAGE_PREFIX%-meson ^
+ %MINGW_PACKAGE_PREFIX%-protobuf ^
+ %MINGW_PACKAGE_PREFIX%-python3-numpy ^
+ %MINGW_PACKAGE_PREFIX%-rapidjson ^
+ %MINGW_PACKAGE_PREFIX%-snappy ^
+ %MINGW_PACKAGE_PREFIX%-thrift ^
+ %MINGW_PACKAGE_PREFIX%-zlib ^
+ %MINGW_PACKAGE_PREFIX%-zstd || exit /B
pushd c_glib
ruby -S bundle install || exit /B