File: hadrian-disable-threaded

package info (click to toggle)
ghc 9.10.3-1~exp3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 168,908 kB
  • sloc: haskell: 713,548; ansic: 84,223; cpp: 30,255; javascript: 9,003; sh: 7,870; fortran: 3,527; python: 3,228; asm: 2,523; makefile: 2,326; yacc: 1,570; lisp: 532; xml: 196; perl: 111; csh: 2
file content (28 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Index: b/hadrian/hadrian.cabal
===================================================================
--- a/hadrian/hadrian.cabal
+++ b/hadrian/hadrian.cabal
@@ -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
@@ -177,14 +177,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