Merge pull request #7794 from mistydemeo/permit_arm_macs

Install: permit ARM-based Macs
This commit is contained in:
Misty De Meo 2020-06-22 13:54:17 -07:00 committed by GitHub
commit 9cd0166c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ module Homebrew
module_function
def check_cpu
return if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
return if (Hardware::CPU.intel? && Hardware::CPU.is_64_bit?) || Hardware::CPU.arm?
message = "Sorry, Homebrew does not support your computer's CPU architecture!"
if Hardware::CPU.ppc?