Skip to content

Conversation

@stefanlippuner
Copy link
Contributor

@stefanlippuner stefanlippuner commented Sep 30, 2023

Changes:

  • Bump CIRCT to llvm/circt@24d394b (already kind-of old by now :|)
    • Most changes were done by @maerhart, I only added a few missing libraries
  • Switch CI build to ninja. Somehow using makefiles and parallel build seems to cause errors on Ubuntu. The CIRCT build instructions also recommend ninja, so I think this should be ok.
  • Add missing lifetime annotations for trait objects (resolves issue Build fails due to type deduction #251)
  • Pin Rust toolchain version to v1.66
    • Building moore with v1.67 or newer results in stack overflows at runtime (e.g. when running the tests). I think fixing this can be deferred for now.
  • Change requirements for SV tests
    • Ignore error in common_cells (broken on master and here)
    • Add tests that were ignored due to issues that have since been resolved.

CI workflow run: https://github.com/stefanlippuner/moore/actions/runs/6361816938

maerhart and others added 6 commits June 1, 2023 17:59
Build now works with rust 1.63 (when using backtrace = "=0.3.68")
Uing makefiles and parallel build seems to cause errors in CI.
This caused compiler errors for rust >= 1.65
Newer toolchains cause stack overflow errors in some tests. That may be related to
a memory alignment change in Rust v1.67 (rust-lang/rust#102750)
…NOREs

The common_cells test was already failing as of 37f9596

The removed ignores referenced issues that have been closed and the tests
pass now.
@stefanlippuner
Copy link
Contributor Author

stefanlippuner commented Sep 30, 2023

@maerhart I picked up 37f9596 from your branch. Are you ok with merging that (with the addition of my fixes in 8fd4ee59)?

@maerhart
Copy link
Collaborator

I picked up 37f9596 from your branch. Are you ok with merging that (with the addition of my fixes in 8fd4ee59)?

Of course, thanks for picking it up!

@stefanlippuner stefanlippuner marked this pull request as ready for review October 1, 2023 06:56
@fabianschuiki
Copy link
Owner

Awesome, thanks a lot 🎉! Let me kick off the CI run here as well.

jgreenbaum pushed a commit to jgreenbaum/moore-stefan that referenced this pull request Jun 25, 2025
But tests fail as mentioned in the comments to the existing pull
request: "Building moore with v1.67 or newer results in stack
overflows at runtime (e.g. when running the tests). I think fixing
this can be deferred for now.":
	fabianschuiki#252
@jgreenbaum
Copy link

Since this wasn't committed, I've submitted a PR on Stefan's branch that brings moor up to rustc 1.87.0 and fixes the stack overflows mentioned in this PR. I hope this is useful.

@fabianschuiki
Copy link
Owner

Oh thanks for resurfacing this. Let me hit merge on this here as well, just in case 👍. A lot of the Moore work has migrated over into CIRCT directly, which might also be useful depending on what you are doing 😃

@fabianschuiki fabianschuiki merged commit 6307db1 into fabianschuiki:master Jun 30, 2025
jgreenbaum pushed a commit to jgreenbaum/moore-fabian that referenced this pull request Jul 9, 2025
But tests fail as mentioned in the comments to the existing pull
request: "Building moore with v1.67 or newer results in stack
overflows at runtime (e.g. when running the tests). I think fixing
this can be deferred for now.":
	fabianschuiki/moore#252
jgreenbaum pushed a commit to jgreenbaum/moore-stefan that referenced this pull request Jul 9, 2025
But tests fail as mentioned in the comments to the existing pull
request: "Building moore with v1.67 or newer results in stack
overflows at runtime (e.g. when running the tests). I think fixing
this can be deferred for now.":
	fabianschuiki#252
@jgreenbaum jgreenbaum mentioned this pull request Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants