diff --git a/Library/Homebrew/extend/os/linux/diagnostic.rb b/Library/Homebrew/extend/os/linux/diagnostic.rb index 6393c2b39e..2aad96cc0c 100644 --- a/Library/Homebrew/extend/os/linux/diagnostic.rb +++ b/Library/Homebrew/extend/os/linux/diagnostic.rb @@ -74,7 +74,8 @@ module OS end 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 Your CPU architecture (#{Hardware::CPU.arch}) is not supported. We only support