From: Debian Science Maintainers Date: Sat, 25 Jul 2015 17:50:31 +0000 (+0000) Subject: Never-use-the-msse2-flag-explicitly X-Git-Tag: archive/raspbian/3.10.2-1+rpi1~1^2^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3f032e425236df52c4a87e22f5080d3d4d1ec628;p=pytables.git Never-use-the-msse2-flag-explicitly =================================================================== Gbp-Pq: Name 0002-Never-use-the-msse2-flag-explicitly.patch --- diff --git a/setup.py b/setup.py index 953d8e1..46974b8 100755 --- a/setup.py +++ b/setup.py @@ -862,7 +862,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': @@ -876,7 +876,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')