[DHG_packages] 01/01: store: don't build test executables with RTS -N

Clint Adams clint at moszumanska.debian.org
Wed Jan 3 22:42:02 UTC 2018


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

clint pushed a commit to branch master
in repository DHG_packages.

commit 1a361bc32eefcdd29561f93e9c0352499dac40c5
Author: Clint Adams <clint at debian.org>
Date:   Wed Jan 3 17:39:24 2018 -0500

    store: don't build test executables with RTS -N
---
 p/haskell-store/debian/changelog          |  7 +++++++
 p/haskell-store/debian/patches/no--N.diff | 29 +++++++++++++++++++++++++++++
 p/haskell-store/debian/patches/series     |  1 +
 3 files changed, 37 insertions(+)

diff --git a/p/haskell-store/debian/changelog b/p/haskell-store/debian/changelog
index 6fd8163..4665e27 100644
--- a/p/haskell-store/debian/changelog
+++ b/p/haskell-store/debian/changelog
@@ -1,3 +1,10 @@
+haskell-store (0.4.3.2-2) unstable; urgency=medium
+
+  * Don't build test executables with RTS -N; most of
+    Debian's architectures lack SMP support.
+
+ -- Clint Adams <clint at debian.org>  Wed, 03 Jan 2018 17:38:24 -0500
+
 haskell-store (0.4.3.2-1) unstable; urgency=low
 
   * Initial release (Closes: #883000)
diff --git a/p/haskell-store/debian/patches/no--N.diff b/p/haskell-store/debian/patches/no--N.diff
new file mode 100644
index 0000000..8e1fd37
--- /dev/null
+++ b/p/haskell-store/debian/patches/no--N.diff
@@ -0,0 +1,29 @@
+--- a/store.cabal
++++ b/store.cabal
+@@ -99,7 +99,7 @@
+   main-is: Spec.hs
+   hs-source-dirs:
+       test
+-  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N
++  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts
+   build-depends:
+       base >=4.7 && <5
+     , store-core >=0.4 && <0.5
+@@ -157,7 +157,7 @@
+   main-is: Allocations.hs
+   hs-source-dirs:
+       test
+-  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T -O2
++  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-T -O2
+   build-depends:
+       base >=4.7 && <5
+     , store-core >=0.4 && <0.5
+@@ -215,7 +215,7 @@
+   main-is: Bench.hs
+   hs-source-dirs:
+       bench
+-  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-N1 -with-rtsopts=-s -with-rtsopts=-qg
++  ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2 -threaded -rtsopts -with-rtsopts=-s -with-rtsopts=-qg
+   build-depends:
+       base >=4.7 && <5
+     , store-core >=0.4 && <0.5
diff --git a/p/haskell-store/debian/patches/series b/p/haskell-store/debian/patches/series
new file mode 100644
index 0000000..1c37260
--- /dev/null
+++ b/p/haskell-store/debian/patches/series
@@ -0,0 +1 @@
+no--N.diff

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