Skip to content

Commit

Permalink
try native arch
Browse files Browse the repository at this point in the history
  • Loading branch information
atroyn committed Jul 20, 2024
1 parent 2c657fc commit ff15142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -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'
}
Expand Down

0 comments on commit ff15142

Please sign in to comment.