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
@@ -869,7 +869,7 @@
os.remove(fd.name)
# SSE2
- if 'sse2' in cpu_flags:
+ if False:
print('SSE2 detected and enabled')
CFLAGS.append('-DSHUFFLE_SSE2_ENABLED')
if os.name == 'nt':
@@ -850,7 +850,7 @@
blosc_sources += [f for f in glob.glob('c-blosc/blosc/*.c')
if 'sse2' in f]
# AVX2
- if 'avx2' in cpu_flags and 'DISABLE_AVX2' not in os.environ:
+ if False:
print('AVX2 detected and enabled')
if os.name == 'nt':
if LooseVersion(platform.python_version()) >= LooseVersion('3.5.0'):