Closed dopamane closed 1 month ago
Caused by https://github.com/YosysHQ/yosys/pull/4243.
@RCoeurjoly The cause of this issue is an incomplete check:
@if [ ! -d "$(YOSYS_SRC)/abc" ]; then \
echo "Error: The 'abc' directory does not exist."; \
echo "Initialize the submodule: Run 'git submodule update --init' to set up 'abc' as a submodule."; \
exit 1; \
This isn't actually enough to check that the submodule is uninitialized. Also, you should not be assuming that abc comes from a tarball for the sole reason of "every other check has failed".
⚡ Thanks for the heads up, git submodule update --init
after clone does the trick, I can open a PR which adds this additional step to the README "Building from source" section.
The check needs to be fixed in the Makefile as well, since no one with existing checkouts is going to diff the README after pulling.
Version
Yosys 0.37+1 (git sha1 37a6c9a09, clang 10.0.0-4ubuntu1 -fPIC -Os)
On which OS did this happen?
Linux
Reproduction Steps
Expected Behavior
Build without error.
Actual Behavior