-
Notifications
You must be signed in to change notification settings - Fork 31
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
Desync between cargo build and repo. #248
Comments
Hey @samerogers, thanks for reporting this. The integration of LLVM and CIRCT is pretty delicate dance due to the fast-paced development style on the LLVM side. As a rule of thumb, Moore only really works with the exact commit of CIRCT and LLVM that is pointed at by the submodule in this repository. There are a lot of rapid, breaking changes that happen upstream regularly, with very little stability guarantee. At some point in the future we'll be able to point the Moore repo at more strict release tags of CIRCT (once CIRCT starts to do actual releases), but in the current phase of rapid iteration we have to make due with arbitrary but known-good commits that we point to. One unsolved probleme here is the challenge of installing Moore through Ideally we'd have a mode where |
@fabianschuiki - I followed all the above steps as mentioned but I am getting below error while running -
|
I recently downloaded moore to test it out and have been having issues with building it. One thing I noticed while working through my build errors is that there is a significant desync between the files downloaded by cargo and the files in the repo. For instance in src/circt-sys/wrapper.cpp:15 the repo version has IntegerAttr::get(intType, APInt(tmpWidth, valueStr, 10).trunc(intWidth))); but the version downloaded by cargo has IntegerAttr::get(intType, APInt(tmpWidth, valueStr, 10).truncOrSelf(intWidth))); I've notice several other issues, but it looks like a large number of them may be fixed by fixing the repo version that cargo is pulling.
EDIT: I see that the latest release tag is 0.14.0, however this tagged build is incompatible with the current release of LLVM and CIRCT.
The text was updated successfully, but these errors were encountered: