Skip to content
Snippets Groups Projects
Unverified Commit d1fbeafd authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Merge pull request #10479 from haskell/mergify/bp/3.14/pr-10468

Backport #10468: add new options for ghc 9.12
parents 2a48e40f 9b994d6f
No related branches found
No related tags found
No related merge requests found
...@@ -329,6 +329,7 @@ normaliseGhcArgs (Just ghcVersion) PackageDescription{..} ghcArgs ...@@ -329,6 +329,7 @@ normaliseGhcArgs (Just ghcVersion) PackageDescription{..} ghcArgs
] ]
, from [8, 2] ["-fmax-uncovered-patterns", "-fmax-errors"] , from [8, 2] ["-fmax-uncovered-patterns", "-fmax-errors"]
, from [8, 4] $ to [8, 6] ["-fmax-valid-substitutions"] , from [8, 4] $ to [8, 6] ["-fmax-valid-substitutions"]
, from [9, 12] ["-fmax-forced-spec-args", "-fwrite-if-compression"]
] ]
dropIntFlag :: Bool -> String -> String -> Any dropIntFlag :: Bool -> String -> String -> Any
......
synopsis: Add new options from ghc 9.12
packages: Cabal
prs: #10468
significance:
description: {
- ghc 9.12 adds several new command line options, divided between
`LANGUAGE`s (already added), warnings, new preprocessor control options,
and compilation control options. Two options needed to be added to the
list of options requiring `Int` parameters.
The new options, excluding warning and language options, are:
* `-fexpose-overloaded-unfoldings`
* `-fmax-forced-spec-args=N`
* `-fno-expose-overloaded-unfoldings`
* `-fno-object-determinism`
* `-fobject-determinism`
* `-fwrite-if-compression=N`
* `-optCmmP…`
* `-optJSP…`
* `-pgmCmmP`
* `-pgmJSP`
As they all affect compilation and store hashes, the only necessary
change was to list the two numeric options so they will be parsed
correctly. To the best of our understanding, `-pgm*` and `-opt*`
options are already handled as a group.
}
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