[pytables] 06/14: Fix 0003-Never-use-the-msse2-flag-explicitly.patch according to cme hints

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Tue Nov 1 07:57:30 UTC 2016


This is an automated email from the git hooks/post-receive script.

a_valentino-guest pushed a commit to branch master
in repository pytables.

commit 9aec45f76fd4fcf746e2d5d1ab6a837906e28271
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Mon Oct 31 08:24:04 2016 +0000

    Fix 0003-Never-use-the-msse2-flag-explicitly.patch according to cme hints
---
 debian/patches/0003-Never-use-the-msse2-flag-explicitly.patch | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/patches/0003-Never-use-the-msse2-flag-explicitly.patch b/debian/patches/0003-Never-use-the-msse2-flag-explicitly.patch
index ec9b5db..bbc6e88 100644
--- a/debian/patches/0003-Never-use-the-msse2-flag-explicitly.patch
+++ b/debian/patches/0003-Never-use-the-msse2-flag-explicitly.patch
@@ -1,5 +1,4 @@
-From: Debian Science Maintainers
- <debian-science-maintainers at lists.alioth.debian.org>
+From: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Date: Sat, 25 Jul 2015 17:50:31 +0000
 Subject: Never-use-the-msse2-flag-explicitly
 
@@ -17,7 +16,7 @@ index d87b893..a2c79c0 100755
  
      # SSE2
 -    if 'sse2' in cpu_info['flags']:
-+    if false and 'sse2' in cpu_info['flags']:
++    if False and ('sse2' in cpu_info['flags']):
          print('SSE2 detected')
          CFLAGS.append('-DSHUFFLE_SSE2_ENABLED')
          if os.name == 'nt':
@@ -27,7 +26,7 @@ index d87b893..a2c79c0 100755
      # Detection code for AVX2 only works for gcc/clang, not for MSVC yet
 -    if ('avx2' in cpu_info['flags'] and
 -        compiler_has_flags(compiler, ["-mavx2"])):
-+    if false and ('avx2' in cpu_info['flags'] and
++    if False and ('avx2' in cpu_info['flags'] and
 +            compiler_has_flags(compiler, ["-mavx2"])):
          print('AVX2 detected')
          CFLAGS.append('-DSHUFFLE_AVX2_ENABLED')

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytables.git



More information about the debian-science-commits mailing list