Skip to content

Commit af94cb9

Browse files
authored
Merge pull request #251184 from Homebrew/dotnet@8-intel
dotnet@8: make brew aware of inability to build Intel Sonoma bottle
2 parents 1acf31d + 4ca916f commit af94cb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Formula/d/[email protected]

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ class DotnetAT8 < Formula
4242
depends_on "lttng-ust"
4343
end
4444

45+
on_intel do
46+
# Building on Intel Sonoma or later results in stack overflow on restore.
47+
# See https://github.com/Homebrew/homebrew-core/issues/197546
48+
depends_on maximum_macos: [:ventura, :build]
49+
end
50+
4551
resource "release.json" do
4652
url "https://github.com/dotnet/dotnet/releases/download/v8.0.121/release.json"
4753
sha256 "ba61d54adf402098d6772763dbc021bf60a82c28abeebefba94c74b50e1dbbc4"

0 commit comments

Comments
 (0)