Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update master to 0.6.1 #367

Merged
merged 22 commits into from
Feb 6, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove checking for conda in os.environment
  • Loading branch information
Tony Kuo committed Jan 13, 2022
commit 641e62be4ba170baf1b923f0f54562da329e3b92
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ class BuildExt(build_ext):
'unix': ['-O3'], # , '-w'
}
if not os.environ.get("HNSWLIB_NO_NATIVE"):
if "conda" not in sys.version.lower():
c_opts['unix'].append('-march=native')
c_opts['unix'].append('-march=native')

link_opts = {
'unix': [],
Expand Down