mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Remove warning on ARM
This commit is contained in:
parent
e69a54d0d8
commit
b02acb37c0
@ -63,7 +63,6 @@ module Homebrew
|
||||
|
||||
def supported_configuration_checks
|
||||
%w[
|
||||
check_for_unsupported_arch
|
||||
check_for_unsupported_macos
|
||||
].freeze
|
||||
end
|
||||
@ -91,18 +90,6 @@ module Homebrew
|
||||
nil
|
||||
end
|
||||
|
||||
def check_for_unsupported_arch
|
||||
return if Homebrew::EnvConfig.developer?
|
||||
return unless Hardware::CPU.arm?
|
||||
|
||||
<<~EOS
|
||||
You are running macOS on a #{Hardware::CPU.arch} CPU architecture.
|
||||
We do not provide support for this (yet).
|
||||
Reinstall Homebrew under Rosetta 2 until we support it.
|
||||
#{please_create_pull_requests}
|
||||
EOS
|
||||
end
|
||||
|
||||
def check_for_unsupported_macos
|
||||
return if Homebrew::EnvConfig.developer?
|
||||
|
||||
|
@ -51,11 +51,6 @@ module Homebrew
|
||||
end
|
||||
|
||||
def check_cpu
|
||||
return if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
|
||||
|
||||
# Handled by check_for_unsupported_arch in extend/os/mac/diagnostic.rb
|
||||
return if Hardware::CPU.arm?
|
||||
|
||||
return unless Hardware::CPU.ppc?
|
||||
|
||||
odie <<~EOS
|
||||
|
Loading…
x
Reference in New Issue
Block a user