Skip to content

GH-50052: [CI][C++] Bump vcpkg to newest version#50053

Open
raulcd wants to merge 2 commits into
apache:mainfrom
raulcd:GH-50052
Open

GH-50052: [CI][C++] Bump vcpkg to newest version#50053
raulcd wants to merge 2 commits into
apache:mainfrom
raulcd:GH-50052

Conversation

@raulcd
Copy link
Copy Markdown
Member

@raulcd raulcd commented May 27, 2026

Rationale for this change

We require newer vcpkg for other PRs like upgrading xsimd, see:

What changes are included in this PR?

  • Update vcpkg version
  • Update required patches
  • Manually install required bison for newer Thrift from vcpkg

Are these changes tested?

Yes via CI

Are there any user-facing changes?

No

Copilot AI review requested due to automatic review settings May 27, 2026 12:37
@github-actions
Copy link
Copy Markdown

⚠️ GitHub issue #50052 has been automatically assigned in GitHub to PR creator.

@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented May 27, 2026

@github-actions crossbow submit wheelcp314

@github-actions github-actions Bot added the awaiting committer review Awaiting committer review label May 27, 2026
@github-actions
Copy link
Copy Markdown

Revision: a0e4312

Submitted crossbow builds: ursacomputing/crossbow @ actions-de3763ceb9

Task Status
wheel-macos-monterey-cp314-cp314-amd64 GitHub Actions
wheel-macos-monterey-cp314-cp314-arm64 GitHub Actions
wheel-macos-monterey-cp314-cp314t-amd64 GitHub Actions
wheel-macos-monterey-cp314-cp314t-arm64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314-amd64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314-arm64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314t-amd64 GitHub Actions
wheel-manylinux-2-28-cp314-cp314t-arm64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314-amd64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314-arm64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314t-amd64 GitHub Actions
wheel-musllinux-1-2-cp314-cp314t-arm64 GitHub Actions
wheel-windows-cp314-cp314-amd64 GitHub Actions
wheel-windows-cp314-cp314t-amd64 GitHub Actions

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Arrow’s CI/container toolchain to use a newer vcpkg commit, along with supporting tweaks needed for dependency builds (notably in the manylinux wheel image).

Changes:

  • Bump the default vcpkg commit used by CI/docker builds and refresh the vcpkg ports patch accordingly.
  • Add a CI helper script to build/install a newer bison, and install it in the manylinux Python wheel image to satisfy thrift build requirements.
  • Update Windows wheel image revision tags to force rebuilds with the new vcpkg/tooling.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
ci/vcpkg/ports.patch Updates vcpkg port overlays/patches for the bumped vcpkg baseline.
ci/scripts/install_bison.sh Adds a script to build and install a pinned bison version from source.
ci/docker/python-wheel-manylinux.dockerfile Installs newer bison in the manylinux wheel build image before running vcpkg.
.env Updates the pinned vcpkg commit and Windows wheel image revision tags.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ci/vcpkg/ports.patch
Comment thread ci/vcpkg/ports.patch
Comment thread ci/scripts/install_bison.sh Outdated
Comment thread .env
@github-actions github-actions Bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels May 27, 2026
@raulcd raulcd added the CI: Extra: C++ Run extra C++ CI label May 27, 2026
@github-actions github-actions Bot added awaiting change review Awaiting change review and removed CI: Extra: C++ Run extra C++ CI awaiting changes Awaiting changes labels May 27, 2026
@raulcd raulcd added awaiting changes Awaiting changes CI: Extra: C++ Run extra C++ CI and removed awaiting change review Awaiting change review labels May 27, 2026
@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented May 27, 2026

@github-actions crossbow submit wheelcp313

@github-actions
Copy link
Copy Markdown

Revision: 01d11b7

Submitted crossbow builds: ursacomputing/crossbow @ actions-3800d85dfe

Task Status
wheel-macos-monterey-cp313-cp313-amd64 GitHub Actions
wheel-macos-monterey-cp313-cp313-arm64 GitHub Actions
wheel-macos-monterey-cp313-cp313t-amd64 GitHub Actions
wheel-macos-monterey-cp313-cp313t-arm64 GitHub Actions
wheel-manylinux-2-28-cp313-cp313-amd64 GitHub Actions
wheel-manylinux-2-28-cp313-cp313-arm64 GitHub Actions
wheel-manylinux-2-28-cp313-cp313t-amd64 GitHub Actions
wheel-manylinux-2-28-cp313-cp313t-arm64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313-amd64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313-arm64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313t-amd64 GitHub Actions
wheel-musllinux-1-2-cp313-cp313t-arm64 GitHub Actions
wheel-windows-cp313-cp313-amd64 GitHub Actions
wheel-windows-cp313-cp313t-amd64 GitHub Actions

@raulcd raulcd marked this pull request as ready for review May 27, 2026 19:34
Copilot AI review requested due to automatic review settings May 27, 2026 19:34
@raulcd
Copy link
Copy Markdown
Member Author

raulcd commented May 27, 2026

@kou @AntoinePrv this is ready. CI is green for wheels and JNI manylinux jobs.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Comment on lines +20 to +34
set -e

if [ "$#" -ne 2 ]; then
echo "Usage: $0 <version> <prefix>"
exit 1
fi

version=$1
prefix=$2

mkdir -p /tmp/bison
url="https://ftp.gnu.org/gnu/bison/bison-${version}.tar.gz"

wget -q "${url}" -O - | tar -xzf - --directory /tmp/bison --strip-components=1

Comment on lines +30 to +41
mkdir -p /tmp/bison
url="https://ftp.gnu.org/gnu/bison/bison-${version}.tar.gz"

wget -q "${url}" -O - | tar -xzf - --directory /tmp/bison --strip-components=1

pushd /tmp/bison
./configure --prefix="${prefix}"
make -j$(nproc)
make install
popd

rm -rf /tmp/bison
Copy link
Copy Markdown
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

BTW, I thought that we may be able to install Bison by vcpkg but it's not available yet: microsoft/vcpkg#33084

@github-actions github-actions Bot removed the awaiting changes Awaiting changes label May 28, 2026
@github-actions github-actions Bot added the awaiting merge Awaiting merge label May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge Awaiting merge CI: Extra: C++ Run extra C++ CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants