File Never-use-the-msse2-flag-explicitly.patch of Package python-tables
From: Debian Science Maintainers
<debian-science-maintainers@lists.alioth.debian.org>
Date: Sat, 25 Jul 2015 17:50:31 +0000
Subject: Never-use-the-msse2-flag-explicitly
===================================================================
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index ee769e6..2cd6b1d 100755
--- a/setup.py
+++ b/setup.py
@@ -836,7 +836,7 @@ if 'BLOSC' not in optional_libs:
os.remove(fd.name)
# SSE2
- if 'sse2' in cpu_flags:
+ if False and 'sse2' in cpu_flags:
print('SSE2 detected')
CFLAGS.append('-DSHUFFLE_SSE2_ENABLED')
if os.name == 'nt':
@@ -850,7 +850,7 @@ if 'BLOSC' not in optional_libs:
if 'sse2' in f]
# AVX2
# Detection code for AVX2 only works for gcc/clang, not for MSVC yet
- if ('avx2' in cpu_flags and
+ if (False and 'avx2' in cpu_flags and
compiler_has_flags(compiler, ["-mavx2"])):
print('AVX2 detected')
CFLAGS.append('-DSHUFFLE_AVX2_ENABLED')