We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f069830 commit 7cc674dCopy full SHA for 7cc674d
setup.py
@@ -74,8 +74,11 @@ class BuildExt(build_ext):
74
"""A custom build extension for adding compiler-specific options."""
75
c_opts = {
76
'msvc': ['/EHsc', '/openmp', '/O2'],
77
- 'unix': ['-O3', '-march=native'], # , '-w'
+ #'unix': ['-O3', '-march=native'], # , '-w'
78
+ 'unix': ['-O3'], # , '-w'
79
}
80
+ if "conda" not in sys.version.lower():
81
+ c_opts['unix'].append("-march=native")
82
link_opts = {
83
'unix': [],
84
'msvc': [],
0 commit comments