-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add the applicable new (version 9.10) GHC flags to normaliseGhcArgs (…
…backport #10014) (#10106) * add the applicable new (version 9.10) GHC flags to normaliseGhcArgs (#10014) * add the applicable new (versions 9.2 - 9.10) GHC flags to normaliseGhcArgs Actionable flags are: - fdiagnostics-as-json (changes the format GHC outputs its diagnostics) - fprint-error-index-lists (changes the way GHC displays compile time) - fbreak-points (enables/disables break-points in GHCi) - dipe-stats (dumps information about which info tables have IPE information) - ffamily-application-cache (only changes the speed of the compiler) - fprint-redundant-promotion-ticks - show-error-context - unoptimized-core-for-interpreter (only applies to GHCi) * [chore] correct the flag names and add a FUTUREWORK (cherry picked from commit be10be8) # Conflicts: # Cabal/src/Distribution/Simple/Program.hs * fixup! add the applicable new (version 9.10) GHC flags to normaliseGhcArgs (#10014) --------- Co-authored-by: Mango The Fourth <[email protected]> Co-authored-by: brandon s allbery kf8nh <[email protected]>
- Loading branch information
1 parent
d873282
commit a147f1b
Showing
2 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
synopsis: Update ghc args normalization and ghc option rendering | ||
packages: Cabal | ||
issues: #9729 | ||
prs: #10014 | ||
|
||
description: { | ||
|
||
The flags -fdiagnostics-as-json, -fprint-error-index-lists, -fbreak-points, -dipe-stats, -ffamily-application-cache, -fprint-redundant-promotion-ticks, -fshow-error-context and -funoptimized-core-for-interpreter have been added to the flags that do not cause recompilation. | ||
|
||
--{enable,disable}-split-objs is not shown on in the helper for GHC >= 9.8 | ||
} |