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 0ec0886 commit 2900620Copy full SHA for 2900620
setup.py
@@ -105,7 +105,7 @@ def blosc_extension():
105
info('compiling Blosc extension with AVX2 support')
106
extra_compile_args.append('-DSHUFFLE_AVX2_ENABLED')
107
blosc_sources += [f for f in glob('c-blosc/blosc/*.c') if 'avx2' in f]
108
- if os.name == 'nt':
+ if os.name == 'nt' and not PY2:
109
define_macros += [('__AVX2__', 1)]
110
else:
111
info('compiling Blosc extension without AVX2 support')
0 commit comments