Skip to content

Commit 2900620

Browse files
authored
disable __AVX2__ macros on windows PY27
1 parent 0ec0886 commit 2900620

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
@@ -105,7 +105,7 @@ def blosc_extension():
105105
info('compiling Blosc extension with AVX2 support')
106106
extra_compile_args.append('-DSHUFFLE_AVX2_ENABLED')
107107
blosc_sources += [f for f in glob('c-blosc/blosc/*.c') if 'avx2' in f]
108-
if os.name == 'nt':
108+
if os.name == 'nt' and not PY2:
109109
define_macros += [('__AVX2__', 1)]
110110
else:
111111
info('compiling Blosc extension without AVX2 support')

0 commit comments

Comments
 (0)