Skip to content

Commit 641e62b

Browse files
author
Tony Kuo
committed
remove checking for conda in os.environment
1 parent 67c869b commit 641e62b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ class BuildExt(build_ext):
7878
'unix': ['-O3'], # , '-w'
7979
}
8080
if not os.environ.get("HNSWLIB_NO_NATIVE"):
81-
if "conda" not in sys.version.lower():
82-
c_opts['unix'].append('-march=native')
81+
c_opts['unix'].append('-march=native')
8382

8483
link_opts = {
8584
'unix': [],

0 commit comments

Comments
 (0)