File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,18 @@ class Bazel < Formula
2828 uses_from_macos "zip"
2929
3030 on_linux do
31- # Workaround for "/usr/bin/ld.gold: internal error in try_fix_erratum_843419_optimized"
32- # Issue ref: https://sourceware.org/bugzilla/show_bug.cgi?id=31182
3331 on_arm do
32+ # Workaround for "/usr/bin/ld.gold: internal error in try_fix_erratum_843419_optimized"
33+ # Issue ref: https://sourceware.org/bugzilla/show_bug.cgi?id=31182
3434 depends_on "lld" => :build
35- end
3635
37- on_intel do
3836 # We use a workaround to prevent modification of the `bazel-real` binary
3937 # but this means brew cannot rewrite paths for non-default prefix
4038 pour_bottle? only_if : :default_prefix
4139 end
40+ on_intel do
41+ pour_bottle? only_if : :default_prefix
42+ end
4243 end
4344
4445 conflicts_with "bazelisk" , because : "Bazelisk replaces the bazel binary"
Original file line number Diff line number Diff line change @@ -32,9 +32,12 @@ class BazelAT7 < Formula
3232 uses_from_macos "zip"
3333
3434 on_linux do
35+ # We use a workaround to prevent modification of the `bazel-real` binary
36+ # but this means brew cannot rewrite paths for non-default prefix
37+ on_arm do
38+ pour_bottle? only_if : :default_prefix
39+ end
3540 on_intel do
36- # We use a workaround to prevent modification of the `bazel-real` binary
37- # but this means brew cannot rewrite paths for non-default prefix
3841 pour_bottle? only_if : :default_prefix
3942 end
4043 end
You can’t perform that action at this time.
0 commit comments