-
Notifications
You must be signed in to change notification settings - Fork 188
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
model/CMakeLists: add Lean variant #728
Conversation
I used this PR over the last week and it works great for me. I also created a CI-action for the sail repository (rems-project/sail#1012), which demonstrates that this PR works. @RaitoBezarius, if you could fix the formatting issue, we can see CI results for this repo. If they are green, I would like to get this PR merged, as this will simplify other workflows. |
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.
LGTM, I'll merge this if nobody has any objections. Thanks for testing!
Might want to add a note that this requires the latest upstream version of sail, but otherwise LGTM |
We could add |
Seems reasonable since right now there is no minimum required version. We should probably bump the coq minimum required version as well (that can be in a separate PR though). |
This sounds reasonable to me. @RaitoBezarius, will you take care? |
This is done! |
I tested again, and this PR still works for me. I am happy to see this merged. |
Co-authored-by: Tim Hutt <[email protected]> Co-authored-by: Tobias Grosser <[email protected]> Signed-off-by: Raito Bezarius <[email protected]>
Signed-off-by: Raito Bezarius <[email protected]>
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.
LGTM now
Increasing the sail version to 0.19 breaks my build. Any advice on how I should use this, given that sail 0.19 is not yet released? I am trying to use this with the current sail HEAD. |
Hmm. That is a good point. A couple of different things come to mind:
|
IMHO it'd make sense to bump sail HEAD to 0.19 right now but I'm not familiar with details and sail release management. |
That works for me. Why don't we merge it as is? I can then propose a PR to sail. If it goes through, we are golden. Otherwise, I will fix this via CI/sed. |
Yeah I feel like this should require 0.19, and then either:
|
(So I'm in favour of merging this as-is.) |
I created #744 so we hopefully remember to add this to CI when it works with a released version of the Sail compiler. |
This adds the support to try the Lean generation for RISC-V CPU.
I was not able to test it until the very end using Sail v2 rev a5a1072ac69a9207fb9202082161fc127f90567a and failed with the following error:
This might have to do with how I did set up the generation.