-
Notifications
You must be signed in to change notification settings - Fork 79
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
Install error: __AVX2__ not defined on AVX2-supporting system #214
Comments
Hmm, no idea what’s happening, if I import setup.py it looks like this: >>> import setup
>>> setup.base_compile_args
['-msse2', '-mavx2']
>>> setup.blosc_extension()[0].extra_compile_args
['-msse2', '-mavx2', '-DSHUFFLE_SSE2_ENABLED', '-DSHUFFLE_AVX2_ENABLED'] |
Ah! it’s because of CFLAGS! setup.py doesn’t set Since the build needs |
Sorry for the slow reply. Is there something we should be following up on here, @flying-sheep? |
You should probably warn or error if necessary features aren’t in CFLAGS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimal, reproducible code sample, a copy-pastable example if possible
Problem description
When compiling,
__AVX2__
seems to be not defined.I assume
-march=native
or-mavx2
should be passed.Version and installation information
The text was updated successfully, but these errors were encountered: