Skip to content

Commit 5fe5e3b

Browse files
author
Tony Kuo
committed
change flag name to HNSWLIB_NO_NATIVE
1 parent e8488c4 commit 5fe5e3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class BuildExt(build_ext):
7777
#'unix': ['-O3', '-march=native'], # , '-w'
7878
'unix': ['-O3'], # , '-w'
7979
}
80-
if not os.environ.get("HNSWLIB_NO_CFLAGS"):
80+
if not os.environ.get("HNSWLIB_NO_NATIVE"):
8181
if "conda" not in sys.version.lower():
8282
c_opts['unix'].append('-march=native')
8383

0 commit comments

Comments
 (0)