hadrian-disable-threaded
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Mon, 19 Feb 2024 16:12:25 +0000 (17:12 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Mon, 19 Feb 2024 16:12:25 +0000 (17:12 +0100)
===================================================================

Gbp-Pq: Name hadrian-disable-threaded

hadrian/hadrian.cabal

index eb5690bbd1a6b9deec880328f0733095f6e5d2a9..1c249aed680eeaeec0411bc9239b7017ede4b84e 100644 (file)
@@ -18,7 +18,7 @@ source-repository head
 -- To accommodate #16873
 flag threaded
     manual:              True
-    default:             True
+    default:             False
     description:         Build with the threaded runtime for improved
                          performance. Users with bootstrap compilers
                          which don't support the threaded runtime should
@@ -167,14 +167,6 @@ executable hadrian
                        -rtsopts
                        -fno-ignore-asserts
 
-    if flag(threaded)
-      ghc-options:
-                       -- * -I0: Disable idle GC to avoid redundant GCs while
-                       --        waiting for external processes
-                       -- * -qg: Don't use parallel GC as the synchronization
-                       --        time tends to eat any benefit.
-                       "-with-rtsopts=-I0 -qg"
-                       -threaded
 
     if flag(selftest)
       other-modules:   Rules.Selftest