-
Notifications
You must be signed in to change notification settings - Fork 9
Adding support for GHC-9.12 based on the alpha release #462
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
jorisdral
left a comment
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.
If we start supporting 9.12, then we should also add GHA jobs for that compiler version to our CI. It should be sufficient to add the version to the following line:
lsm-tree/.github/workflows/haskell.yml
Line 25 in 2044d00
| ghc: ["8.10.7", "9.2.8", "9.4.8", "9.6.4", "9.8.2", "9.10.1"] |
That seems obvious. Slightly embarrassed I missed this. |
86b775a to
2063369
Compare
|
Four of the
|
I've searched the GHC issue tracker a bit and it seems the implementation of |
This is indeed the cause. I copied the Now the question is how to proceed... Perhaps, use CPP based on the base version? Would like your insight on this matter. |
2063369 to
58c21e4
Compare
|
I'm not sure what the exact test is doing, but it might be good to relax it to rely less on the implementation details of sort, e.g., use an upper bound rather than an exact number of comparisons, or verify that the result is ordered rather than an exact order. |
|
@wenkokke That is a good idea. I'm not really satisfied with the CPP solution I quickly slapped together, so I'll look into the intent behind the test case. |
From what I recall, the intent here is to count comparisons for different heap-like implementations so that we can compare the implementations. I don't think we have to preserve the exact count for the |
91ba593 to
f95c887
Compare
a747f93 to
b02230e
Compare
b02230e to
5c2458e
Compare
Description
I added support for the new GHC-9.12 based on the current alpha release version. The only changes required were the bumping of version bounds and relaxing upper bound constrains on the
basepackage in the project's direct and transitive dependencies.