Apache DataFusion SQL Query Engine
ARROW-9823: [CI][C++][MinGW] Enable S3
Sutou Kouhei0522c5715ad5
diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.ymlindex 07cd4a9191..e9bd127f3b 100644--- a/.github/workflows/cpp.yml+++ b/.github/workflows/cpp.yml@@ -319,6 +319,7 @@ jobs:ARROW_JEMALLOC: OFFARROW_PARQUET: ONARROW_PYTHON: ON+ ARROW_S3: ONARROW_USE_GLOG: OFFARROW_VERBOSE_THIRDPARTY_BUILD: OFFARROW_WITH_BROTLI: ONdiff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.ymlindex 783ca91cb8..d7c81bc762 100644--- a/.github/workflows/ruby.yml+++ b/.github/workflows/ruby.yml@@ -174,6 +174,7 @@ jobs:ARROW_JEMALLOC: OFFARROW_PARQUET: ONARROW_PYTHON: OFF+ ARROW_S3: ONARROW_USE_GLOG: OFFARROW_WITH_BROTLI: ONARROW_WITH_BZ2: ONdiff --git a/ci/scripts/cpp_test.sh b/ci/scripts/cpp_test.shindex d7e239b7c0..eb556cceff 100755--- a/ci/scripts/cpp_test.sh+++ b/ci/scripts/cpp_test.sh@@ -62,6 +62,18 @@ case "$(uname)" inexclude_tests="${exclude_tests}|gandiva-literal-test"exclude_tests="${exclude_tests}|gandiva-null-validity-test"fi+ # TODO: Enable this when we can use aws-sdk-cpp as a shared+ # library. The current aws-sdk-cpp MSYS2 package provides only+ # static library. If we use aws-sdk-cpp as a static library, we+ # can't use aws-sdk-cpp directly in+ # cpp/src/arrow/filesystem/s3fs_test.c. Because aws-sdk-cpp uses+ # static variables to keep process wide objects. If we aws-sdk-cpp+ # as a static library, we have two aws-sdk-cpp libraries (in+ # libarrow.dll and+ # arrow-s3fs-test.exe). arrow::fs::EnsureS3Initialized() only+ # initializes aws-sdk-cpp in libarrow.dll. It doesn't initialize+ # aws-sdk-cpp in arrow-s3fs-test.exe.+ exclude_tests="${exclude_tests}|arrow-s3fs-test"ctest_options+=(--exclude-regex "${exclude_tests}");;*)diff --git a/ci/scripts/msys2_setup.sh b/ci/scripts/msys2_setup.shindex a2845d1473..110b03bae6 100755--- a/ci/scripts/msys2_setup.sh+++ b/ci/scripts/msys2_setup.sh@@ -25,6 +25,7 @@ packages=()case "${target}" incpp|c_glib|ruby)packages+=(make)+ packages+=(${MINGW_PACKAGE_PREFIX}-aws-sdk-cpp)packages+=(${MINGW_PACKAGE_PREFIX}-ccache)packages+=(${MINGW_PACKAGE_PREFIX}-boost)packages+=(${MINGW_PACKAGE_PREFIX}-brotli)