8000 Problem with yosys_install when running sudo make eda_install · Issue #9 · wulffern/aicex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Problem with yosys_install when running sudo make eda_install #9

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

Open
yotasage opened this issue Jan 1, 2025 · 0 comments
Open

Problem with yosys_install when running sudo make eda_install #9

yotasage opened this issue Jan 1, 2025 · 0 comments

Comments

@yotasage
Copy link
Contributor
yotasage commented Jan 1, 2025

After running sudo make eda_install, the following is the last that is output to the terminal:

/usr/bin/install -c -m 644 iverilog.man "/opt/eda/share/man/man1/iverilog.1"
/usr/bin/install -c ./iverilog "/opt/eda/bin/iverilog"
make[1]: Leaving directory '/home/yotasage/pro/aicex/tests/iverilog/driver'
make[1]: Leaving directory '/home/yotasage/pro/aicex/tests'
make yosys_install
make[1]: Entering directory '/home/yotasage/pro/aicex/tests'
cd yosys && sudo make PREFIX=/opt/eda install
[Makefile.conf] CONFIG := gcc
Error: 'abc' is not configured as a git submodule.
To resolve this:
1. Back up your changes: Save any modifications from the 'abc' directory to another location.
2. Remove the existing 'abc' directory: Delete the 'abc' directory and all its contents.
3. Initialize the submodule: Run 'git submodule update --init' to set up 'abc' as a submodule.
4. Reapply your changes: Move your saved changes back to the 'abc' directory, if necessary.
make: *** [Makefile:769: check-git-abc] Error 1
make[1]: *** [Makefile:360: yosys_install] Error 2
make[1]: Leaving directory '/home/yotasage/pro/aicex/tests'
make: *** [Makefile:96: eda_install] Error 2

When running sudo make yosys_install, the same error occurs.

yotasage@VMware-Ubuntu:~/pro/aicex/tests$ sudo make yosys_install
cd yosys && sudo make PREFIX=/opt/eda install
[Makefile.conf] CONFIG := gcc
Error: 'abc' is not configured as a git submodule.
To resolve this:
1. Back up your changes: Save any modifications from the 'abc' directory to another location.
2. Remove the existing 'abc' directory: Delete the 'abc' directory and all its contents.
3. Initialize the submodule: Run 'git submodule update --init' to set up 'abc' as a submodule.
4. Reapply your changes: Move your saved changes back to the 'abc' directory, if necessary.
make: *** [Makefile:769: check-git-abc] Error 1
make: *** [Makefile:360: yosys_install] Error 2

When running make yosys_install, everything works fine.

yotasage@VMware-Ubuntu:~/pro/aicex/tests$ make yosys_install
cd yosys && sudo make PREFIX=/opt/eda install
[Makefile.conf] CONFIG := gcc
mkdir -p /opt/eda/bin
cp yosys-abc yosys yosys-config yosys-filterlib yosys-smtbmc yosys-witness /opt/eda/bin
strip -S /opt/eda/bin/yosys
strip /opt/eda/bin/yosys-abc
strip /opt/eda/bin/yosys-filterlib
mkdir -p /opt/eda/share/yosys
cp -r share/. /opt/eda/share/yosys/.

Recommended that anyone who encounters this error edits the file "Makefile" inside the "tests" folder. Remove make yosys_install from under eda_install:.

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

1 participant
0