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 6da99d6 commit e8488c4Copy full SHA for e8488c4
setup.py
@@ -77,6 +77,10 @@ class BuildExt(build_ext):
77
#'unix': ['-O3', '-march=native'], # , '-w'
78
'unix': ['-O3'], # , '-w'
79
}
80
+ if not os.environ.get("HNSWLIB_NO_CFLAGS"):
81
+ if "conda" not in sys.version.lower():
82
+ c_opts['unix'].append('-march=native')
83
+
84
link_opts = {
85
'unix': [],
86
'msvc': [],
0 commit comments