-
Notifications
You must be signed in to change notification settings - Fork 196
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
upgrade to ghc-9.4 parse tree #1410
Conversation
aa8642d
to
bb8f1e4
Compare
sadly, this pr fails with macOS 9.2.2 same as #1385. fixed in 9.2.3 and note also that 9.2.2 is now two minor versions behind (ghc-9.2.4 was released early aug). perhaps it's worth reconsidering if we might patch 'ci.yml' as per this comment #1385 (comment)? |
bb8f1e4
to
14467d1
Compare
i think we'll be needing @ndmitchell 's final say on this & its timing but nonetheless, if you have the time & patience, your review would be very welcome @zliu41 😊 🙏 ! |
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.
Nice work!
@@ -53,7 +53,7 @@ flag gpl | |||
description: Use GPL libraries, specifically hscolour | |||
|
|||
flag ghc-lib | |||
default: False | |||
default: True |
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.
Good call - this seems like the right time to flip this default
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.
jolly good. i've taken the liberty of pushing the change to ci.yml
then that bumps the macOS compiler to ghc-9.2.3 .
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.
@ndmitchell @shayne-fletcher what's the rationale for this change?
For ormolu
I was proposing to use ghc
by default when possible (tweag/ormolu#948). Are there any potential drawbacks with that?
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.
@sol the motivation is discussed in #1376. i don't know of any drawbacks. you may find this blog post helpful.
* updates for compatibility with GHC `HEAD`
14467d1
to
6f38e99
Compare
fixes #1376 |
Thanks Shayne! I did leave some notes, which it appears GitHub completely dropped, so from memory:
What stops us from doing that now?
Why is what we get in CI lagging so far behind? |
i just did a quick foray to find out:
sorry, i have no skills in this area - i'm just cargo-culting from what i find here. perhaps you have a contact somewhere you might ask for us? |
we may find ourselves waiting on some package upgrades also. for example, the ghc-lib project (ghc-lib-gen's dependence on aeson mostly i think) indicates that the upper-bounds of at least these packages need relaxing to be built with ghc-9.4.1: OneTuple |
hmmm... now that i reflect on it, likely this won't be an issue for us since after all, we got a build plan just fine with my local 9.4.1 builds & it would seem, our CI forays above 😊 |
.github/workflws/ci.yml
9.4
to that matrix in the near futureghc-lib-parser
by default in pr switch auto default to false shayne-fletcher/ghc-lib-parser-ex#123yet to landbeen abandoned in light of this PR being accepted