From ff15142c4f642385367006af2c1a330714b61c1f Mon Sep 17 00:00:00 2001
From: atroyn <anton.troynikov@gmail.com>
Date: Fri, 19 Jul 2024 19:34:37 -0700
Subject: [PATCH] try native arch

---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index b4c9be5c..cedc64e4 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@
 from setuptools import Extension, setup
 from setuptools.command.build_ext import build_ext
 
-__version__ = "0.7.6.alpha1"
+__version__ = "0.7.6.alpha2"
 
 include_dirs = [
     pybind11.get_include(),
@@ -76,7 +76,7 @@ class BuildExt(build_ext):
     """A custom build extension for adding compiler-specific options."""
 
     c_opts = {
-        "msvc": ["/EHsc", "/openmp", "/O2", "/arch:IA32"],
+        "msvc": ["/EHsc", "/openmp", "/O2", "/arch:native"],
         #'unix': ['-O3', '-march=native'],  # , '-w'
         "unix": ["-O3"],  # , '-w'
     }