Skip to content
Snippets Groups Projects
Commit 1bdb1317 authored by Cheng Shao's avatar Cheng Shao Committed by Marge Bot
Browse files

hadrian: enable late-CCS for perf flavour as well

This patch enables late-CCS for perf flavour so that the testsuite can
pass for perf as well. Fixes #25308.
parent edf3bdf5
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ when compiling the `compiler` library, and `hsGhc` when compiling/linking the GH
<td>-O2</td>
</tr>
<tr>
<th>release (same as perf with -haddock and +late-ccs)</td>
<th>release (same as perf with -haddock)</td>
<td></td>
<td>-O<br>-H64m</td>
<td>-O<br>-H64m</td>
......@@ -323,7 +323,7 @@ The supported transformers are listed below:
</tr>
<tr>
<td><code>late_ccs</code></td>
<td>Enable <code>-fprof-late</code> in profiled libraries.</td>
<td>Enable <code>-fprof-late</code> in profiled libraries. Enabled in <code>perf</code> and <code>release</code> flavours.</td>
</tr>
<tr>
<td><code>dump_stg</code></td>
......
......@@ -6,7 +6,7 @@ import {-# SOURCE #-} Settings.Default
-- Please update doc/flavours.md when changing this file.
performanceFlavour :: Flavour
performanceFlavour = splitSections $ defaultFlavour
performanceFlavour = splitSections $ enableLateCCS $ defaultFlavour
{ name = "perf"
, extraArgs = performanceArgs <> defaultHaddockExtraArgs }
......
......@@ -4,4 +4,4 @@ import Settings.Flavours.Performance
import Flavour
releaseFlavour :: Flavour
releaseFlavour = enableLateCCS $ enableHaddock performanceFlavour { name = "release" }
releaseFlavour = enableHaddock performanceFlavour { name = "release" }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment