Merge pull request #19511 from Homebrew/doctor-arm64-linux
os/linux/diagnostic: skip error on arm64 when `HOMEBREW_ARM64_TESTING` is set
This commit is contained in:
commit
8588898530
@ -74,7 +74,8 @@ module OS
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_supported_architecture
|
def check_supported_architecture
|
||||||
return if Hardware::CPU.arch == :x86_64
|
return if Hardware::CPU.intel?
|
||||||
|
return if Homebrew::EnvConfig.developer? && ENV["HOMEBREW_ARM64_TESTING"].present? && Hardware::CPU.arm?
|
||||||
|
|
||||||
<<~EOS
|
<<~EOS
|
||||||
Your CPU architecture (#{Hardware::CPU.arch}) is not supported. We only support
|
Your CPU architecture (#{Hardware::CPU.arch}) is not supported. We only support
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user