@@ -36,8 +36,9 @@ COPY ci/vcpkg/*.patch \
3636 ci/vcpkg/*windows*.cmake \
3737 arrow/ci/vcpkg/
3838COPY ci/scripts/install_vcpkg.sh arrow/ci/scripts/
39+ ENV VCPKG_ROOT=C:\\ vcpkg
3940RUN bash arrow/ci/scripts/install_vcpkg.sh /c/vcpkg %vcpkg% && \
40- setx PATH "%PATH%;C: \v cpkg "
41+ setx PATH "%PATH%;%VCPKG_ROOT% "
4142
4243# Configure vcpkg and install dependencies
4344# NOTE: use windows batch environment notation for build arguments in RUN
@@ -48,34 +49,21 @@ ARG build_type=release
4849ENV CMAKE_BUILD_TYPE=${build_type} \
4950 VCPKG_OVERLAY_TRIPLETS=C:\\ arrow\\ ci\\ vcpkg \
5051 VCPKG_DEFAULT_TRIPLET=amd64-windows-static-md-${build_type} \
51- VCPKG_FEATURE_FLAGS=-manifests
52-
53- RUN vcpkg install --clean-after-build \
54- abseil \
55- aws-sdk-cpp[config,cognito-identity,core,identity-management,s3,sts,transfer] \
56- boost-filesystem \
57- boost-multiprecision \
58- boost-system \
59- brotli \
60- bzip2 \
61- c-ares \
62- curl \
63- flatbuffers \
64- gflags \
65- glog \
66- google-cloud-cpp[core,storage] \
67- grpc \
68- lz4 \
69- openssl \
70- orc \
71- protobuf \
72- rapidjson \
73- re2 \
74- snappy \
75- thrift \
76- utf8proc \
77- zlib \
78- zstd
52+ VCPKG_FEATURE_FLAGS="manifests"
53+ COPY ci/vcpkg/vcpkg.json arrow/ci/vcpkg/
54+ # cannot use the S3 feature here because while aws-sdk-cpp=1.9.160 contains
55+ # ssl related fixies as well as we can patch the vcpkg portfile to support
56+ # arm machines it hits ARROW-15141 where we would need to fall back to 1.8.186
57+ # but we cannot patch those portfiles since vcpkg-tool handles the checkout of
58+ # previous versions => use bundled S3 build
59+ RUN vcpkg install \
60+ --clean-after-build \
61+ --x-install-root=%VCPKG_ROOT%\i nstalled \
62+ --x-manifest-root=arrow/ci/vcpkg \
63+ --x-feature=flight \
64+ --x-feature=gcs \
65+ --x-feature=json \
66+ --x-feature=parquet
7967
8068# Remove previous installations of python from the base image
8169# NOTE: a more recent base image (tried with 2.12.1) comes with python 3.9.7
@@ -87,20 +75,20 @@ RUN wmic product where "name like 'python%%'" call uninstall /nointeractive && \
8775
8876# Define the full version number otherwise choco falls back to patch number 0 (3.7 => 3.7.0)
8977ARG python=3.8
90- RUN (if "%python%" =="3.7" setx PYTHON_VERSION 3.7.12 ) & \
91- (if "%python%" =="3.8" setx PYTHON_VERSION 3.8.11 ) & \
92- (if "%python%" =="3.9" setx PYTHON_VERSION 3.9.9 ) & \
93- (if "%python%" =="3.10" setx PYTHON_VERSION 3.10.1 )
78+ RUN (if "%python%" =="3.7" setx PYTHON_VERSION " 3.7.9" && setx PATH "%PATH%;C: \P ython37;C: \P ython37 \S cripts" ) & \
79+ (if "%python%" =="3.8" setx PYTHON_VERSION " 3.8.10" && setx PATH "%PATH%;C: \P ython38;C: \P ython38 \S cripts" ) & \
80+ (if "%python%" =="3.9" setx PYTHON_VERSION " 3.9.7" && setx PATH "%PATH%;C: \P ython39;C: \P ython39 \S cripts" ) & \
81+ (if "%python%" =="3.10" setx PYTHON_VERSION " 3.10.2" && setx PATH "%PATH%;C: \P ython310;C: \P ython310 \S cripts" )
9482RUN choco install -r -y --no-progress python --version=%PYTHON_VERSION%
95- RUN pip install -U pip
83+ RUN python -m pip install -U pip setuptools
9684
9785COPY python/requirements-wheel-build.txt arrow/python/
98- RUN pip install -r arrow/python/requirements-wheel-build.txt
86+ RUN python -m pip install -r arrow/python/requirements-wheel-build.txt
9987
100- ENV CLCACHE_DIR="C:\c lcache"
101- ENV CLCACHE_COMPRESS=1
102- ENV CLCACHE_COMPRESSLEVEL=6
103- RUN pip install git+https://github.com/Nuitka/clcache.git
88+ # ENV CLCACHE_DIR="C:\clcache"
89+ # ENV CLCACHE_COMPRESS=1
90+ # ENV CLCACHE_COMPRESSLEVEL=6
91+ # RUN pip install git+https://github.com/Nuitka/clcache.git
10492
10593# For debugging purposes
10694# RUN wget --no-check-certificate https://github.com/lucasg/Dependencies/releases/download/v1.10/Dependencies_x64_Release.zip
0 commit comments