Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport #10468: add new options for ghc 9.12 #10479

Merged
merged 1 commit into from
Oct 27, 2024
Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 26, 2024

ghc 9.12 adds several new command line options, divided between
LANGUAGEs (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.

Template Α: This PR modifies behaviour or interface

Include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • Manual QA notes have been included.
  • Tests have been added. (Ask for help if you don’t know how to write them! Ask for an exemption if tests are too complex for too little coverage!)

This is an automatic backport of pull request #10468 done by [Mergify](https://mergify.com).

- 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.

(cherry picked from commit 6578978)
@mergify mergify bot mentioned this pull request Oct 26, 2024
5 tasks
@mergify mergify bot added the backport label Oct 26, 2024
@geekosaur geekosaur added the merge me Tell Mergify Bot to merge label Oct 27, 2024
@mergify mergify bot merged commit d1fbeaf into 3.14 Oct 27, 2024
54 checks passed
@mergify mergify bot deleted the mergify/bp/3.14/pr-10468 branch October 27, 2024 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport merge me Tell Mergify Bot to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant