Skip to content
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

Yosys build has failed for a long time #70

Open
Topi-ab opened this issue Jul 4, 2024 · 3 comments
Open

Yosys build has failed for a long time #70

Topi-ab opened this issue Jul 4, 2024 · 3 comments

Comments

@Topi-ab
Copy link

Topi-ab commented Jul 4, 2024

I was wondering why hdlc/formal from docker hub had outdated yosys build.

Now I realized that the last time build succeeded was Dec 15, 2023.
https://github.com/hdl/containers/actions/workflows/yosys.yml
https://github.com/hdl/containers/actions/runs/7216298306

Looks like g++ is missing from the preparation
https://github.com/hdl/containers/actions/runs/9705516523/job/26787730757#step:3:1431

@Topi-ab
Copy link
Author

Topi-ab commented Jul 4, 2024

It seems I found the issue. Tried to push a commit, but failed due to missing permissions.

debian-bullseye/yosys/HDLC:

  1. Add build-essential to makedepends
  bison
  flex
  gawk
  gcc
  build-essential
  pkg-config
  zlib1g-dev
  clang
  git
  make
)
  1. Change git clone line to include submodules:

git clone --recurse-submodules https://github.com/YosysHQ/yosys.git /tmp/yosys

@parasyte
Copy link

parasyte commented Jul 17, 2024

Today I hit two issues with the old Yosys in this container. One is that abc crashes with an assertion failure in some cases, and it was supposedly fixed by YosysHQ/yosys#4351 in Yosys 0.41.

The other problem I just kind of hope was resolved since December, but the abc one is my current blocker.

@Topi-ab
Copy link
Author

Topi-ab commented Aug 25, 2024

@umarcor

You are able to fix this, right?

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

No branches or pull requests

2 participants