1 parent b19d038 commit b6d0336Copy full SHA for b6d0336
1 file changed
dev/tasks/java-jars/github.yml
@@ -150,6 +150,15 @@ jobs:
150
# used on test We uninstall Homebrew's Protobuf to ensure using
151
# bundled Protobuf.
152
brew uninstall protobuf
153
+ # Install compatible cmake version (< 4.0.0)
154
+ brew uninstall -f cmake || true
155
+ mkdir -p homebrew-custom/Formula
156
+ curl -o homebrew-custom/Formula/cmake.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/f68532bfe5cb87474093df8a839c3818c6aa44dd/Formula/c/cmake.rb
157
+ brew tap-new local/homebrew-custom
158
+ cp ./homebrew-custom/Formula/*.rb "$(brew --repo local/homebrew-custom)/Formula/"
159
+ brew install -v local/homebrew-custom/cmake
160
+ brew pin cmake
161
+ #
162
163
brew bundle --file=arrow/java/Brewfile
164
- name: Build C++ libraries
0 commit comments