Blob Blame Raw
diff --git python-blosc-1.5.1/setup.py~ python-blosc-1.5.1/setup.py
index fbb540c289..93bc0ac0e6 100644
--- python-blosc-1.5.1/setup.py~
+++ python-blosc-1.5.1/setup.py
@@ -19,7 +19,6 @@ import sys
 from setuptools import Extension
 from setuptools import setup
 from glob import glob
-import cpuinfo
 
 ########### Check versions ##########
 
@@ -94,27 +93,6 @@ else:
     inc_dirs += glob('c-blosc/internal-complibs/zstd*')
     def_macros += [('HAVE_LZ4', 1), ('HAVE_SNAPPY', 1), ('HAVE_ZLIB', 1), ('HAVE_ZSTD', 1)]
 
-    # Guess SSE2 or AVX2 capabilities
-    cpu_info = cpuinfo.get_cpu_info()
-    # SSE2
-    if 'sse2' in cpu_info['flags']:
-        print('SSE2 detected')
-        CFLAGS.append('-DSHUFFLE_SSE2_ENABLED')
-        sources += [f for f in glob('c-blosc/blosc/*.c') if 'sse2' in f]
-        if os.name == 'posix':
-            CFLAGS.append('-msse2')
-        elif os.name == 'nt':
-            def_macros += [('__SSE2__', 1)]
-    # AVX2
-    if 'avx2' in cpu_info['flags']:
-        print('AVX2 detected')
-        CFLAGS.append('-DSHUFFLE_AVX2_ENABLED')
-        sources += [f for f in glob('c-blosc/blosc/*.c') if 'avx2' in f]
-        if os.name == 'posix':
-            CFLAGS.append('-mavx2')
-        elif os.name == 'nt':
-            def_macros += [('__AVX2__', 1)]
-
 classifiers = """\
 Development Status :: 5 - Production/Stable
 Intended Audience :: Developers