-
-
Notifications
You must be signed in to change notification settings - Fork 396
Cleanup CPPs, remove support for GHC 9.4 #4567
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
Conversation
1f5bef2
to
47cc528
Compare
Fyi, in the biweekly HLS meeting, we have discussed to not drop support for Afterwards, we will drop |
Thanks for the information! I leave this PR in draft mode for now, but feel free to close it, and I can reopen in due time! |
btw you might find this useful: https://www.michaelpj.com/blog/2023/11/20/cpp-partial-evaluation.html |
@dschrempf since we released HLS 2.11, we are ready to drop support for GHC 9.4 :) |
47cc528
to
8a5b3b8
Compare
026a91c
to
3e4a801
Compare
@fendor I have removed Also, the Nix CI fails for MacOS for a reasons I don't understand. I have to investigate. I do not have more time now, maybe I get to it tomorrow. If you take over, please let me know! Cheers! EDIT: Ad Nix failure for MacOS. I am not sure if we should test this in CI. |
I tackled all There is one question left in the tests. At a point we expect "ghc94.expected" (I didn't undertand this, maybe it was wrong in the first place?). I will highlight the code change with a comment. Also there is a lot more macros a'la Depending on how the CI will go: I think we should merge this soon, conflicts will be really ugly. |
@@ -44,7 +44,9 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
os: [ubuntu-latest, macOS-latest] | |||
# TODO: Fix compilation problems on macOS. |
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.
NOTE: I remove macOS
from the Nix CI.
I just realized this is PR 4567. |
Closes haskell#4529. Also, - update flake lock - some girl scout changes while trying to understand code
e2a9871
to
df9d591
Compare
Some notes:
|
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.
Amazing work, I didn't anticipate this would be so much work! Thank you for taking care of this, it is much appreciated!
formatters don't work with CPP in general, we usually just ignore these kinds of errors in the pre-commit job, it is not blocking 🙊 Sorry for not telling you sooner, but I think you improved the overall code base considerably!
Good point, I think ci runs with
Making ghcide compile without warnings is a big amount of work with little payoff... Not sure anyone wants to tackle that. |
Closes #4529.
Also,