| ... |
... |
@@ -19,14 +19,18 @@ A build _flavour_ is a collection of build settings that fully define a GHC buil |
|
19
|
19
|
data Flavour = Flavour {
|
|
20
|
20
|
-- | Flavour name, to select this flavour from command line.
|
|
21
|
21
|
name :: String,
|
|
22
|
|
- -- | Use these command line arguments.
|
|
23
|
|
- args :: Args,
|
|
|
22
|
+ -- | Use these extra command line arguments.
|
|
|
23
|
+ -- This can't depend on the result of configuring a package (ie, using readContextData)
|
|
|
24
|
+ extraArgs :: Args,
|
|
24
|
25
|
-- | Build these packages.
|
|
25
|
26
|
packages :: Stage -> Action [Package],
|
|
26
|
27
|
-- | Bignum backend: 'native', 'gmp', 'ffi', etc.
|
|
27
|
28
|
bignumBackend :: String,
|
|
28
|
29
|
-- | Check selected bignum backend against native backend
|
|
29
|
30
|
bignumCheck :: Bool,
|
|
|
31
|
+ -- | Build the @text@ package with @simdutf@ support. Disabled by
|
|
|
32
|
+ -- default due to packaging difficulties described in #20724.
|
|
|
33
|
+ textWithSIMDUTF :: Bool,
|
|
30
|
34
|
-- | Build libraries these ways.
|
|
31
|
35
|
libraryWays :: Ways,
|
|
32
|
36
|
-- | Build RTS these ways.
|
| ... |
... |
@@ -45,11 +49,18 @@ data Flavour = Flavour { |
|
45
|
49
|
-- | Build the GHC executable against the threaded runtime system.
|
|
46
|
50
|
ghcThreaded :: Stage -- ^ stage of the /built/ compiler
|
|
47
|
51
|
-> Bool,
|
|
|
52
|
+
|
|
|
53
|
+ ghcSplitSections :: Bool, -- ^ Whether to enable split sections
|
|
48
|
54
|
-- | Whether to build docs and which ones
|
|
49
|
55
|
-- (haddocks, user manual, haddock manual)
|
|
50
|
56
|
ghcDocs :: Action DocTargets,
|
|
|
57
|
+
|
|
|
58
|
+ -- | Whether to uses hashes or inplace for unit ids
|
|
|
59
|
+ hashUnitIds :: Bool,
|
|
|
60
|
+
|
|
51
|
61
|
-- | Whether to generate .hie files
|
|
52
|
62
|
ghcHieFiles :: Stage -> Bool
|
|
|
63
|
+
|
|
53
|
64
|
}
|
|
54
|
65
|
```
|
|
55
|
66
|
Hadrian provides several built-in flavours (`default`, `quick`, and a few
|