-
-
Notifications
You must be signed in to change notification settings - Fork 392
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
base: master
Are you sure you want to change the base?
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
8a5b3b8
to
026a91c
Compare
Closes haskell#4529. Also, - update flake lock - some girl scout changes while trying to understand code
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. |
@@ -84,8 +84,8 @@ tests = | |||
evalInFile "T8.hs" "-- >>> 3 `div` 0" "-- divide by zero" -- The default for marking exceptions is False | |||
, goldenWithEval "Applies file LANGUAGE extensions" "T9" "hs" | |||
, goldenWithEval "Evaluate a type with :kind!" "T10" "hs" | |||
, goldenWithEval' "Reports an error for an incorrect type with :kind!" "T11" "hs" | |||
(if ghcVersion >= GHC94 then "ghc94.expected" else "expected") | |||
-- TODO: I do not understand why this is 'ghc94.expected'. |
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.
Why ghc94.expected
?
@@ -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 #4529.
Also,