From 465616223cb477cf44c36cc25ed886f3ec518f88 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 23 Jan 2024 22:07:38 +0530 Subject: [PATCH] Drop using the v2 microarch No significant performance impact and small risk of breakage --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 87f5f9130..6aaa97858 100755 --- a/setup.py +++ b/setup.py @@ -476,8 +476,6 @@ def init_env( # -march=native is not supported when targeting Apple Silicon if native_optimizations: march = '-march=native -mtune=native' - elif sys.maxsize > 2**32 and not is_arm: - march = '-march=x86-64-v2 -mtune=generic' cflags_ = os.environ.get( 'OVERRIDE_CFLAGS', ( f'-Wextra {float_conversion} -Wno-missing-field-initializers -Wall -Wstrict-prototypes {std}'