Commit e691a5a0 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Hadrian: add quick-debug flavour

parent ef65b154
......@@ -35,8 +35,8 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
</tr>
<tr>
<th>default<br></td>
<td>-O<br>-H64m<br></td>
<td>-O2<br>-H64m</td>
<td>-O<br>-H32m<br></td>
<td>-O2<br>-H32m</td>
<td></td>
<td>-haddock</td>
<td></td>
......@@ -55,6 +55,28 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
<td>-O</td>
<td></td>
</tr>
<tr>
<th>quick-validate</td>
<td>-O0<br>-H64m<br>-Werror</td>
<td>-O0<br>-H64m<br>-Werror</td>
<td></td>
<td>-O</td>
<td>-O2</td>
<td>-O</td>
<td>-O</td>
<td></td>
</tr>
<tr>
<th>quick-debug</td>
<td>-O0<br>-H64m</td>
<td>-O0<br>-H64m</td>
<td></td>
<td>-O</td>
<td>-O2</td>
<td>-O</td>
<td>-O</td>
<td>-debug (link)</td>
</tr>
<tr>
<th>quickest</td>
<td>-O0<br>-H64m</td>
......@@ -190,7 +212,7 @@ information. The following table lists ways that are built in different flavours
<td>Only in<br>prof<br>flavour</td>
</tr>
<tr>
<th>quick<br>quick-llvm</th>
<th>quick<br>quick-llvm<br>quick-validate<br>quick-debug</th>
<td>vanilla</td>
<td>vanilla<br>dynamic</td>
<td>logging<br>debug<br>threaded<br>threadedDebug<br>threadedLogging
......
......@@ -54,7 +54,8 @@ hadrianFlavours :: [Flavour]
hadrianFlavours =
[ benchmarkFlavour, defaultFlavour, developmentFlavour Stage1
, developmentFlavour Stage2, performanceFlavour, profiledFlavour
, quickFlavour, quickValidateFlavour, quickestFlavour
, quickFlavour, quickValidateFlavour, quickDebugFlavour
, quickestFlavour
, quickCrossFlavour, benchmarkLlvmFlavour
, performanceLlvmFlavour, profiledLlvmFlavour, quickLlvmFlavour
, ghcInGhciFlavour, validateFlavour, slowValidateFlavour ]
......
module Settings.Flavours.Quick
( quickFlavour
, quickValidateFlavour
, quickDebugFlavour
)
where
......@@ -39,3 +40,9 @@ quickValidateFlavour :: Flavour
quickValidateFlavour = werror $ quickFlavour
{ name = "quick-validate"
}
quickDebugFlavour :: Flavour
quickDebugFlavour = quickFlavour
{ name = "quick-debug"
, ghcDebugged = True
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment