Merge pull request #10092 from jonchang/big-sur-processors
hardware: optimize Big Sur bottles for Ivy Bridge
This commit is contained in:
commit
379371ffa4
@ -7,6 +7,8 @@ module Hardware
|
||||
def self.oldest_cpu(version = MacOS.version)
|
||||
if CPU.arch == :arm64
|
||||
:arm_vortex_tempest
|
||||
elsif version >= :big_sur
|
||||
:ivybridge
|
||||
elsif version >= :mojave
|
||||
:nehalem
|
||||
else
|
||||
|
||||
@ -26,8 +26,9 @@ module Hardware
|
||||
def optimization_flags
|
||||
@optimization_flags ||= {
|
||||
native: arch_flag("native"),
|
||||
nehalem: "-march=nehalem",
|
||||
ivybridge: "-march=ivybridge",
|
||||
sandybridge: "-march=sandybridge",
|
||||
nehalem: "-march=nehalem",
|
||||
core2: "-march=core2",
|
||||
core: "-march=prescott",
|
||||
arm_vortex_tempest: "",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user