Never-use-the-msse2-flag-explicitly
authorDebian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Sat, 25 Jul 2015 17:50:31 +0000 (17:50 +0000)
committerAntonio Valentino <antonio.valentino@tiscali.it>
Wed, 2 Jan 2019 09:48:48 +0000 (09:48 +0000)
===================================================================

Gbp-Pq: Name 0002-Never-use-the-msse2-flag-explicitly.patch

setup.py

index 953d8e18c93c18c02920d7de470c93132dea0348..46974b861d6325d68159f274a92d094159b271b5 100755 (executable)
--- 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')