Skip to content

Commit

Permalink
ARROW-17501: [Python][wheel] Use old AWS SDK C++ (#14157)
Browse files Browse the repository at this point in the history
Because the latest AWS SDK C++ has a problem:
aws/aws-sdk-cpp#1809

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
  • Loading branch information
kou authored Sep 17, 2022
1 parent c58e6a3 commit edf0310
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions ci/docker/python-wheel-manylinux-201x.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ RUN vcpkg install \
--x-feature=flight \
--x-feature=gcs \
--x-feature=json \
--x-feature=parquet \
--x-feature=s3
--x-feature=parquet

ARG python=3.8
ENV PYTHON_VERSION=${python}
Expand Down
4 changes: 4 additions & 0 deletions ci/scripts/python_wheel_manylinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ fi
mkdir /tmp/arrow-build
pushd /tmp/arrow-build

# ARROW-17501: We can remove -DAWSSDK_SOURCE=BUNDLED once
# https://github.com/aws/aws-sdk-cpp/issues/1809 is fixed and vcpkg
# ships the fix.
cmake \
-DARROW_BROTLI_USE_SHARED=OFF \
-DARROW_BUILD_SHARED=ON \
Expand Down Expand Up @@ -117,6 +120,7 @@ cmake \
-DARROW_WITH_SNAPPY=${ARROW_WITH_SNAPPY} \
-DARROW_WITH_ZLIB=${ARROW_WITH_ZLIB} \
-DARROW_WITH_ZSTD=${ARROW_WITH_ZSTD} \
-DAWSSDK_SOURCE=BUNDLED \
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/tmp/arrow-dist \
Expand Down

0 comments on commit edf0310

Please sign in to comment.