Skip to content

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

Merged
raulcd merged 2 commits into
apache:mainfrom
raulcd:GH-50052
Jun 2, 2026
Merged

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

Conversation

@raulcd

@raulcd raulcd commented May 27, 2026

Copy link
Copy Markdown
Member

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

raulcd commented May 27, 2026

Copy link
Copy Markdown
Member Author

@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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

raulcd commented May 27, 2026

Copy link
Copy Markdown
Member Author

@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

raulcd commented May 27, 2026

Copy link
Copy Markdown
Member Author

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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

@kou kou left a comment

Copy link
Copy Markdown
Member

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
@raulcd
raulcd merged commit 9dcedab into apache:main Jun 2, 2026
64 of 87 checks passed
@raulcd raulcd removed the awaiting merge Awaiting merge label Jun 2, 2026
@raulcd
raulcd deleted the GH-50052 branch June 2, 2026 07:11
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 9dcedab.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 6 possible false positives for unstable benchmarks that are known to sometimes produce them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: Extra: C++ Run extra C++ CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants