From 6dd43e94bda84294b76d32554beaa7436d6c1d15 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Fri, 12 Apr 2024 14:15:07 +0900 Subject: [PATCH] GH-41124: [CI][C++] Don't use CMake 3.29.1 with vcpkg (#41151) ### Rationale for this change vcpkg doesn't work with CMake 3.29.1. See also: https://github.com/microsoft/vcpkg/issues/37968 ### What changes are included in this PR? Use CMake 3.29.0 temporary. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #41124 Lead-authored-by: Sutou Kouhei Co-authored-by: Sutou Kouhei Co-authored-by: Jacob Wujciak-Jens Signed-off-by: Sutou Kouhei --- dev/tasks/python-wheels/github.osx.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev/tasks/python-wheels/github.osx.yml b/dev/tasks/python-wheels/github.osx.yml index cf99c84c60bfd..ce9613545eb54 100644 --- a/dev/tasks/python-wheels/github.osx.yml +++ b/dev/tasks/python-wheels/github.osx.yml @@ -50,6 +50,14 @@ jobs: run: | brew list + # CMake 3.29.1 that is pre-installed on the macOS image has a problem. + # See also: https://github.com/microsoft/vcpkg/issues/37968 + - name: Install CMake 3.29.0 + shell: bash + run: | + arrow/ci/scripts/install_cmake.sh $(arch) macos 3.29.0 ${PWD}/local + echo "${PWD}/local/bin" >> $GITHUB_PATH + - name: Retrieve VCPKG version from arrow/.env run: | vcpkg_version=$(cat "arrow/.env" | grep "VCPKG" | cut -d "=" -f2 | tr -d '"')