From 3f032e425236df52c4a87e22f5080d3d4d1ec628 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Sat, 25 Jul 2015 17:50:31 +0000 Subject: [PATCH] Never-use-the-msse2-flag-explicitly =================================================================== Gbp-Pq: Name 0002-Never-use-the-msse2-flag-explicitly.patch --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') -- 2.30.2