-
Notifications
You must be signed in to change notification settings - Fork 613
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
Pin firrtl version to 1.6.0-M2 #2951
Conversation
Using -SNAPSHOT does not make sense, because that means breaking changes in firrtl can break our C/I. At the moment, an upstream change has broken our documentation generation flow.
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.
Using -SNAPSHOT does not make sense, because that means breaking changes in firrtl can break our C/I.
On the contrary, that is the point. It is a negative consequence of having closely coupled projects in different repositories, but it is intentional.
I'm confused. How is this helpful ...? We can always change this back to SNAPSHOT when that's what we want it to be. Right now, nothing will make it through chisel3 CI. |
though this PR is failing C/I in the same way anyway so I'm confused what's going on here. EDIT no actually this is failing fetching the SNAPSHOT version of treadle |
You noticed the breakage immediately and now we should fix it. It's a way of catching compatibility breaking changes immediately rather than letting them build up until you decide to bump. This is because they are such closely coupled projects, obviously this is not necessarily a development process that every project should follow. |
ok, right, again we can immediately put this back when the issue is resolved. Are we OK blocking on both chisel and CIRCT fixes to do any chisel3 work until this is resolved? |
It depends on how hard the breakage is to fix but my suspicion is that it's super easy so why not just fix it? |
I was told this needs a fix to llvm/CIRCT, so we need to wait for CIRCT to fix the issue then do a release then bump it here, and bumping CIRCT will probably need other work |
We can also do a small fix in firrtl. I was initially going to only add the RUW type if it is not undefined, but @seldridge asked that I add it unconditionally: chipsalliance/firrtl#2595 (comment) We can make a PR to only conditionally emit it which should fix most of the breakage since using RUW explicitly is rare. |
I mean, the goal is to move forward towards correctness, so if the current SFC behavior is where we want it to be, let's leave it there and keep pushing forward towards correctness. If no one else is blocked by this CI being broken we can leave this, if we are we can figure out a way to use "the last working version" until we have more pieces that work together... |
here you go: chipsalliance/firrtl#2597 |
Either behavior is correct. Just one is always explicit and the other leaves out the default when possible. |
I see, I agree with @ekiwi's change because breaking Chisel with all existing releases of firtool and SFC is ill-advised unless absolutely necessary. In cases where it is necessary, then I agree with @mwachs5's proposal to temporarily pin the version to keep making progress in the meantime. chipsalliance/firrtl#2591 would also help for such things 😇 |
closing since SFC fix should get -SNAPSHOT working well again |
Using -SNAPSHOT does not make sense, because that means breaking changes in firrtl can break our C/I. At the moment, an upstream change has broken our documentation generation flow.
Contributor Checklist
docs/src
?Type of Improvement
API Impact
Backend Code Generation Impact
yes, it does, but only because upstream broke its generation
Desired Merge Strategy
Release Notes
Pin firrtl version to 1.6.0-M2
Reviewer Checklist (only modified by reviewer)
3.4.x
, [small] API extension:3.5.x
, API modification or big change:3.6.0
)?Enable auto-merge (squash)
, clean up the commit message, and label withPlease Merge
.Create a merge commit
.