[macOS] Pin Cmake to 3.31.6 due to a backward compatibility issue in 4.0 (#11940)

This commit is contained in:
Erik Bershel
2025-04-04 13:43:10 +02:00
committed by GitHub
parent 9b3dea1ae8
commit a73845001e

View File

@@ -24,6 +24,15 @@ for package in $common_packages; do
brew install "$kotlin_rb_path"
;;
cmake)
# Pin cmake bottle to 3.31.6 due to a backward compatibility issue with the latest version
# https://github.com/actions/runner-images/issues/11926
cmake_commit="b4e46db74e74a8c1650b38b1da222284ce1ec5ce"
cmake_rb_link="https://raw.githubusercontent.com/Homebrew/homebrew-core/$cmake_commit/Formula/c/cmake.rb"
cmake_rb_path=$(download_with_retry "$cmake_rb_link")
brew install "$cmake_rb_path"
;;
tcl-tk@8)
brew_smart_install "$package"
if is_VenturaX64 || is_SonomaX64; then