Skip to content

Commit 97418ee

Browse files
DX-120970 Fix macOS: remove brew pin cmake/boost
brew pin cmake fails on newer Homebrew (runner >=20260525) because it resolves cmake via the API and hits the cmake cask instead of the formula. brew bundle --file=arrow/cpp/Brewfile was already working (cmake pre-installed on runner → "Using cmake"). The pins are not needed in CI since no brew upgrade runs after the local tap install.
1 parent c083e48 commit 97418ee

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

dev/tasks/java-jars/github.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,7 @@ jobs:
136136
done
137137
brew install --overwrite python
138138
139-
# Newer Homebrew (runner >=20260525) resolves brew "cmake" to the cmake cask.
140-
# Skip cmake/boost here; they are installed below with pinned versions.
141-
HOMEBREW_BUNDLE_BREW_SKIP="cmake boost" brew bundle --file=arrow/cpp/Brewfile
139+
brew bundle --file=arrow/cpp/Brewfile
142140
# We want to link aws-sdk-cpp statically but Homebrew's
143141
# aws-sdk-cpp provides only shared library. If we have
144142
# Homebrew's aws-sdk-cpp, our build mix Homebrew's
@@ -165,8 +163,6 @@ jobs:
165163
cp ./homebrew-custom/Formula/*.rb "$(brew --repo local/homebrew-custom)/Formula/"
166164
brew install -v local/homebrew-custom/cmake
167165
brew install -v local/homebrew-custom/boost
168-
brew pin cmake
169-
brew pin boost
170166
#
171167
172168

0 commit comments

Comments
 (0)