[pytables] 01/01: Use the -msse2 flag only on x86_64 machines

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Wed Mar 19 00:21:41 UTC 2014


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 3f11892c56fb59fb2746fc38b7d4cf41071771ae
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Wed Mar 19 00:11:46 2014 +0000

    Use the -msse2 flag only on x86_64 machines
---
 debian/changelog                                                      | 2 +-
 ...se2-flag-on-x86.patch => 0003-Only-use-msse2-flag-on-x86_64.patch} | 4 ++--
 debian/patches/series                                                 | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 31ad850..97c99e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ pytables (3.1.0-2) unstable; urgency=medium
 
   * Improved the debian/README.source file (added a note about the
     external compression libraries included in the source tree)
-  * Only use the -msse2 flag on x86 and x86_64 machines
+  * Only use the -msse2 flag on x86_64 machines
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Wed, 05 Mar 2014 22:51:16 +0000
 
diff --git a/debian/patches/0003-Only-use-msse2-flag-on-x86.patch b/debian/patches/0003-Only-use-msse2-flag-on-x86_64.patch
similarity index 85%
rename from debian/patches/0003-Only-use-msse2-flag-on-x86.patch
rename to debian/patches/0003-Only-use-msse2-flag-on-x86_64.patch
index 180c8c0..178a34c 100644
--- a/debian/patches/0003-Only-use-msse2-flag-on-x86.patch
+++ b/debian/patches/0003-Only-use-msse2-flag-on-x86_64.patch
@@ -1,6 +1,6 @@
 From: Antonio Valentino <antonio.valentino at tiscali.it>
 Date: Tue, 18 Mar 2014 23:26:24 +0100
-Subject: Only use -msse2 flag on x86
+Subject: Only use -msse2 flag on x86_64
 
 ---
  setup.py | 3 ++-
@@ -16,7 +16,7 @@ index 6fe9c02..5562dd9 100755
      # Add -msse2 flag for optimizing shuffle in include Blosc
 -    if os.name == 'posix':
 +    import platform
-+    if os.name == 'posix' and 'x86' in platform.machine():
++    if os.name == 'posix' and 'x86_64' in platform.machine():
          CFLAGS.append("-msse2")
  else:
      ADDLIBS += ['blosc']
diff --git a/debian/patches/series b/debian/patches/series
index b42d528..11100fb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,3 @@
 0001-use-dynamic-lib.patch
 0002-Use-system-compression-libs.patch
-0003-Only-use-msse2-flag-on-x86.patch
+0003-Only-use-msse2-flag-on-x86_64.patch

-- 
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