[Pkg-haskell-commits] darcs: ghc: Build the runtime also in the thr_debug_p way

Joachim Breitner mail at joachim-breitner.de
Wed Dec 5 10:12:02 UTC 2012


Tue Dec  4 22:51:14 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Build the runtime also in the thr_debug_p way
  Ignore-this: 99d0742ba2e575eeb206beea0b0d18b7

    M ./changelog -2 +3
    M ./rules +4

Tue Dec  4 22:51:14 UTC 2012  Joachim Breitner <mail at joachim-breitner.de>
  * Build the runtime also in the thr_debug_p way
  Ignore-this: 99d0742ba2e575eeb206beea0b0d18b7
diff -rN -u old-ghc//changelog new-ghc//changelog
--- old-ghc//changelog	2012-12-05 10:12:01.792005512 +0000
+++ new-ghc//changelog	2012-12-05 10:12:01.819201819 +0000
@@ -1,10 +1,11 @@
 ghc (7.6.1-3) UNRELEASED; urgency=low
 
-  [ Joachim Breitner ]
   * Bump standards version, no change
   * Change VCS fields back to regular repo 
+  * Build the runtime also in the thr_debug_p way, suggestion by Michał J.
+    Gajda
 
- -- Kiwamu Okabe <kiwamu at debian.or.jp>  Sun, 07 Oct 2012 17:44:33 +0900
+ -- Joachim Breitner <nomeata at debian.org>  Tue, 04 Dec 2012 21:59:44 +0100
 
 ghc (7.6.1-2) experimental; urgency=low
 
diff -rN -u old-ghc//rules new-ghc//rules
--- old-ghc//rules	2012-12-05 10:12:01.771981906 +0000
+++ new-ghc//rules	2012-12-05 10:12:01.815989658 +0000
@@ -72,6 +72,10 @@
 	# echo "GhcLibHcOpts  += -O0" >> mk/build.mk
 	echo "GhcRtsCcOpts  += -O0" >> mk/build.mk
 endif
+	# We also want to build the threaded profiling-enabled debug runtime,
+	# because it does no harm
+	echo 'GhcRTSWays += $$(if $$(findstring p, $$(GhcLibWays)),thr_debug_p,)' >> mk/build.mk
+	
 	# We can't do this with a configure flag in 6.8.1 as libdir is not
 	# defined at the point at which we := it
 	echo 'ghclibdir := $${libdir}/ghc' >> mk/build.mk





More information about the Pkg-haskell-commits mailing list