config/x86: increase lcores for AMD EPYC in 'native' scenario
PATCH 1/1 config/x86: increase lcores for AMD EPYC in 'native' scenario
File config/meson.build has logic to move cpu_instruction_set from 'auto' to 'native' or 'generic'.
When calling get_option('cpu_instruction_set') again from config/x86/meson.build we get 'auto' again, instead of expected 'native'.
The fix is to not call get_option('cpu_instruction_set') again, just rely on the work done by config/meson.build and trust that cpu_instruction_set already has the correct value. Note that getting/processing cpu_instruction_set is not x86-specific, so should be handled by config/meson.build.
Fixes fd8b058b322e ("config/x86: increase lcores for AMD EPYC cross build")
Signed-off-by Andre Muezerie <[email protected]>
--- config/x86/meson.build | 1 - 1 file changed, 1 deletion(-)
config/x86/meson.build +0 -1
@@ -104,7 +104,6 @@ epyc_zen_cores = { '__znver1__':128 } -cpu_instruction_set = get_option('cpu_instruction_set') if cpu_instruction_set == 'native' foreach m:epyc_zen_cores.keys() if cc.get_define(m, args: machine_args) != ''
Signature · 1 line
2.48.1.vfs.0.0