Merge pull request #18780 from alebcay/rename-none-dunno
hardware: rename none optimization flags to dunno
This commit is contained in:
commit
edacadeaf0
@ -10,7 +10,7 @@ module SharedEnvExtension
|
|||||||
elsif Hardware::CPU.intel? || Hardware::CPU.arm?
|
elsif Hardware::CPU.intel? || Hardware::CPU.arm?
|
||||||
:native
|
:native
|
||||||
else
|
else
|
||||||
:none
|
:dunno
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -27,7 +27,7 @@ module Hardware
|
|||||||
sig { returns(T::Hash[Symbol, String]) }
|
sig { returns(T::Hash[Symbol, String]) }
|
||||||
def optimization_flags
|
def optimization_flags
|
||||||
@optimization_flags ||= T.let({
|
@optimization_flags ||= T.let({
|
||||||
none: "",
|
dunno: "",
|
||||||
native: arch_flag("native"),
|
native: arch_flag("native"),
|
||||||
ivybridge: "-march=ivybridge",
|
ivybridge: "-march=ivybridge",
|
||||||
sandybridge: "-march=sandybridge",
|
sandybridge: "-march=sandybridge",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user