[DHG_packages] 01/02: vector: Use SSE2 for floating-point operations on i386

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Fri Oct 20 14:29:39 UTC 2017


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

iliastsi-guest pushed a commit to branch master
in repository DHG_packages.

commit 017a7430c8944715765100f3640228514516c688
Author: Ilias Tsitsimpis <iliastsi at debian.org>
Date:   Fri Oct 20 17:11:35 2017 +0300

    vector: Use SSE2 for floating-point operations on i386
    
    Closes: #875396
---
 p/haskell-vector/debian/changelog      |  6 +++++
 p/haskell-vector/debian/patches/series |  1 +
 p/haskell-vector/debian/patches/sse2   | 40 ++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/p/haskell-vector/debian/changelog b/p/haskell-vector/debian/changelog
index 802d2d7..b78c68d 100644
--- a/p/haskell-vector/debian/changelog
+++ b/p/haskell-vector/debian/changelog
@@ -1,3 +1,9 @@
+haskell-vector (0.12.0.1-2) UNRELEASED; urgency=medium
+
+  * Use SSE2 for floating-point operations on i386 (Closes: #875396)
+
+ -- Ilias Tsitsimpis <iliastsi at debian.org>  Fri, 20 Oct 2017 17:03:41 +0300
+
 haskell-vector (0.12.0.1-1) unstable; urgency=medium
 
   * New upstream release (Closes: #874805)
diff --git a/p/haskell-vector/debian/patches/series b/p/haskell-vector/debian/patches/series
index 4da161f..e610df9 100644
--- a/p/haskell-vector/debian/patches/series
+++ b/p/haskell-vector/debian/patches/series
@@ -1 +1,2 @@
 no_ann_without_ghci
+sse2
diff --git a/p/haskell-vector/debian/patches/sse2 b/p/haskell-vector/debian/patches/sse2
new file mode 100644
index 0000000..9bfc3f7
--- /dev/null
+++ b/p/haskell-vector/debian/patches/sse2
@@ -0,0 +1,40 @@
+Description: Use SSE2 for floating-point operations on i386
+Author: Ilias Tsitsimpis <iliastsi at debian.org>
+Forwarded: https://github.com/haskell/vector/pull/187
+Bug: https://github.com/haskell/vector/issues/186
+Bug-Debian: https://bugs.debian.org/875396
+
+diff --git a/vector.cabal b/vector.cabal
+index 326454c..7e34029 100644
+--- a/vector.cabal
++++ b/vector.cabal
+@@ -153,6 +153,9 @@ Library
+ 
+   Ghc-Options: -O2 -Wall
+ 
++  if arch(i386)
++    Ghc-Options: -msse2
++
+   if !flag(Wall)
+     Ghc-Options: -fno-warn-orphans
+ 
+@@ -206,6 +209,9 @@ test-suite vector-tests-O0
+   Ghc-Options: -O0
+   Ghc-Options: -Wall
+ 
++  if arch(i386)
++    Ghc-Options: -msse2
++
+   if !flag(Wall)
+     Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures
+     if impl(ghc >= 8.0) && impl( ghc < 8.1)
+@@ -243,6 +249,9 @@ test-suite vector-tests-O2
+ 
+   Ghc-Options: -O2 -Wall
+ 
++  if arch(i386)
++    Ghc-Options: -msse2
++
+   if !flag(Wall)
+     Ghc-Options: -fno-warn-orphans -fno-warn-missing-signatures
+     if impl(ghc >= 8.0) && impl(ghc < 8.1)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list