-
Notifications
You must be signed in to change notification settings - Fork 108
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
Update haskell code to use GHC 8.4/cabal 2.2 (Stackage LTS 12.7 snapshot) #26
Conversation
Thank you! This looks promising. I'll pull it into our internal regression test to see how it plays with the infrastructure there. |
Overall comments so far:
Question: when you say "all tests pass for the default arch setting", you are referring to ./run_tests ? Really glad to see that. Some comments on conventions:
@yanok : could you make the small commit cosmetic tweaks, and then we'll be able to merge this internally @lsf37 : the above aside, I am in favour of this change; note this puts a nail in the "executable" spec being executable on ARM until its next resurrection |
everywhere where it can clash with Word type defined by SEL4.
and remove Error instances that are not needed anymore.
Since version 7.10 complains if the inferred type requires FlexibleContexts. Alternatively we could just add monomorphic type signatures.
|
Ok, from the regression test we get that all proofs work on all platforms, but actually running ghc fails with:
I haven't looked into yet what is going on precisely. Might just be something that needs to be installed on the regression test VMs. If it points to something obvious from your side, let me know. |
For |
@lsf37 When it breaks strangely like this, it is usually a sign that Stack itself needs to be updated, what version do you have installed? Could you try to run |
Finally got around to doing that, and it indeed fixes the issue. The test is green now. Only remaining question is the |
Agreed. I think we should leave those as is for now. We already have the implementations, and the proofs equating them to word_clz and word_ctz respectively, and there's not a fundamental reason to throw them away. |
Good. Rebased and merged internally -- it should appear on GitHub once the regression test passes. |
In case you're wondering what is taking so long, the regression test + automated push failed for a bunch of unrelated reasons, which should hopefully be resolved and we should see the merged PR in the next 24h. |
Has now appeared on github at 0044c57 |
This makes it possible to run a full test suite on my Mac.
All tests pass for the default arch setting.
Fixes #24