Skip to content

Commit aa3ee59

Browse files
authored
[macOS] Unpin Cmake from 3.31.6 version (#12935)
1 parent 1df4f34 commit aa3ee59

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

images/macos/scripts/build/install-common-utils.sh

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,6 @@ for package in $common_packages; do
1515
brew install hashicorp/tap/packer
1616
;;
1717

18-
cmake)
19-
# Pin cmake to 3.31.6 due to a backward compatibility issue
20-
# https://github.com/actions/runner-images/issues/11926
21-
cmake_commit="b4e46db74e74a8c1650b38b1da222284ce1ec5ce"
22-
tap_name="local/pinned"
23-
24-
echo "Creating local tap (no git)..."
25-
brew tap-new --no-git "$tap_name" >/dev/null
26-
27-
cmake_formula_dir="$(brew --repo "$tap_name")/Formula"
28-
mkdir -p "$cmake_formula_dir"
29-
30-
cmake_rb_link="https://raw.githubusercontent.com/Homebrew/homebrew-core/$cmake_commit/Formula/c/cmake.rb"
31-
cmake_rb_path="$cmake_formula_dir/cmake.rb"
32-
33-
echo "Downloading cmake.rb from $cmake_rb_link"
34-
curl -fsSL "$cmake_rb_link" -o "$cmake_rb_path"
35-
36-
echo "Installing cmake 3.31.6 from custom tap..."
37-
brew install "$tap_name/cmake"
38-
;;
39-
4018
tcl-tk@8)
4119
brew_smart_install "$package"
4220
if is_VenturaX64 || is_SonomaX64; then

0 commit comments

Comments
 (0)