-
Notifications
You must be signed in to change notification settings - Fork 697
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
add new options for ghc 9.12 #10468
add new options for ghc 9.12 #10468
Conversation
ff592b4
to
276ba7d
Compare
Does anyone know if I need to add special parsing somewhere for |
Okay, already need another change, |
276ba7d
to
7b96ee2
Compare
7b96ee2
to
859d359
Compare
I suppose I won't hear anything until Monday at earliest, but with a little more understanding on my side: do we care about the new |
859d359
to
71120e2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do any of these options look like they'd require recompilation? IIRC cabal needs to recognize those and recompile all components, not just depend on GHC managing recompilation.
Oh, you said "non-compile-affecting" in the ticket title. :) However, e.g., |
I didn't see anywhere where those went, so I assumed all options are considered to affect compilation unless specified otherwise? This is why I asked for input, and why it's still draft. ETA: @alt-romes confirmed my understanding. |
e35d206
to
e443b73
Compare
Per the most recent Cabal meeting (2024-10-24) this is ready to go now. |
e443b73
to
7dcd367
Compare
@mergify backport 3.14 |
✅ Backports have been created
|
- 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.
7dcd367
to
6578978
Compare
Backport #10468: add new options for ghc 9.12
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.
Template Α: This PR modifies behaviour or interface
Include the following checklist in your PR: