[pytables] 01/03: Re-introduce the patch for fixing the usage of the -msse compiler flag

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sat Apr 12 19:12:05 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 1256906f405a38e96cc9acb0f5b2799d449b0328
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Apr 12 18:31:30 2014 +0000

    Re-introduce the patch for fixing the usage of the -msse compiler flag
---
 debian/changelog                                    |  5 +++--
 .../0004-Never-use-the-msse2-flag-explicitly.patch  | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0db34b8..50baa2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,8 +6,9 @@ pytables (3.1.1-1) unstable; urgency=medium
       pyhon(3)-numexpr-dbg instead of recommending them
       (Closes: #742557)
   * debian/patches
-    - dropped debian/patches/0003-Only-use-msse2-flag-on-x86_64.patch,
-      the problem has been fixed upstream
+    - the 0003-Only-use-msse2-flag-on-x86_64.patch has been updated
+      after the upstream changes and renamed into
+      0004-Never-use-the-msse2-flag-explicitly.patch
     - all remaining patches has been refreshed
     - new patch (0003-Better-control-of-verbosity-in-unittests.patch)
       for better control of verbosity in unittests
diff --git a/debian/patches/0004-Never-use-the-msse2-flag-explicitly.patch b/debian/patches/0004-Never-use-the-msse2-flag-explicitly.patch
new file mode 100644
index 0000000..45b85a5
--- /dev/null
+++ b/debian/patches/0004-Never-use-the-msse2-flag-explicitly.patch
@@ -0,0 +1,21 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sat, 12 Apr 2014 18:21:23 +0000
+Subject: Never use the msse2 flag explicitly
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index d9e2ef6..ab55629 100755
+--- a/setup.py
++++ b/setup.py
+@@ -752,7 +752,7 @@ if 'BLOSC' not in optional_libs:
+         finally:
+             os.remove(fd.name)
+ 
+-    if compiler_has_flags(compiler, ["-msse2"]):
++    if False and compiler_has_flags(compiler, ["-msse2"]):
+         print("Setting compiler flag '-msse2'")
+         CFLAGS.append("-msse2")
+ else:
diff --git a/debian/patches/series b/debian/patches/series
index f2a573e..dbd32ae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-use-dynamic-lib.patch
 0002-Use-system-compression-libs.patch
 0003-Better-control-of-verbosity-in-unittests.patch
+0004-Never-use-the-msse2-flag-explicitly.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