Skip to content

Commit 406a5ad

Browse files
DX-120970 Fix macOS: HOMEBREW_BUNDLE_BREW_SKIP for cmake/boost
Newer Homebrew (runner >=20260525) added a cmake cask with the same name as the formula and resolves brew "cmake" to the cask during brew bundle.
1 parent 422ac7e commit 406a5ad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dev/tasks/java-jars/github.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,8 @@ jobs:
125125
# llvm@14 because llvm is newer than llvm@14.
126126
brew uninstall llvm || :
127127
128-
# cmake and boost are skipped here because newer Homebrew (runner image >=20260525)
129-
# added a cmake cask with the same name as the formula and now resolves
130-
# `brew "cmake"` to the cask instead of the formula. They are installed below
131-
# with pinned versions via a local formula tap.
128+
# Newer Homebrew (runner >=20260525) resolves brew "cmake" to the cmake cask.
129+
# Skip cmake/boost here; they are installed below with pinned versions.
132130
HOMEBREW_BUNDLE_BREW_SKIP="cmake boost" brew bundle --file=arrow/cpp/Brewfile
133131
# We want to link aws-sdk-cpp statically but Homebrew's
134132
# aws-sdk-cpp provides only shared library. If we have
@@ -159,6 +157,8 @@ jobs:
159157
brew install -v local/homebrew-custom/boost
160158
brew pin cmake
161159
brew pin boost
160+
#
161+
162162
163163
brew bundle --file=arrow/java/Brewfile
164164
- name: Build C++ libraries

0 commit comments

Comments
 (0)