hardware: optimize Big Sur bottles for Ivy Bridge
This commit is contained in:
parent
962bd8f326
commit
095798be40
@ -7,6 +7,8 @@ module Hardware
|
|||||||
def self.oldest_cpu(version = MacOS.version)
|
def self.oldest_cpu(version = MacOS.version)
|
||||||
if CPU.arch == :arm64
|
if CPU.arch == :arm64
|
||||||
:arm_vortex_tempest
|
:arm_vortex_tempest
|
||||||
|
elsif version >= :big_sur
|
||||||
|
:ivybridge
|
||||||
elsif version >= :mojave
|
elsif version >= :mojave
|
||||||
:nehalem
|
:nehalem
|
||||||
else
|
else
|
||||||
|
|||||||
@ -26,8 +26,9 @@ module Hardware
|
|||||||
def optimization_flags
|
def optimization_flags
|
||||||
@optimization_flags ||= {
|
@optimization_flags ||= {
|
||||||
native: arch_flag("native"),
|
native: arch_flag("native"),
|
||||||
nehalem: "-march=nehalem",
|
ivybridge: "-march=ivybridge",
|
||||||
sandybridge: "-march=sandybridge",
|
sandybridge: "-march=sandybridge",
|
||||||
|
nehalem: "-march=nehalem",
|
||||||
core2: "-march=core2",
|
core2: "-march=core2",
|
||||||
core: "-march=prescott",
|
core: "-march=prescott",
|
||||||
arm_vortex_tempest: "",
|
arm_vortex_tempest: "",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user