[Libre-soc-bugs] [Bug 626] dev-env-setup script for verilator, ghdl, iverilog and cocotb

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat May 22 20:42:43 BST 2021


--- Comment #13 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to vklr at vkten.in from comment #12)
> Built Cocotb successfully.
> Added cocotb dev-env-script.
> uri:
> https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=cocotb-install;
> h=4a34adbd1527a11ba2e8bbe25d84d34ad79e2777;hb=HEAD
> It's using python3 pip.

i know.  it's a damn nuisance.  we don't need the hassle.

please do "git pull".

also, the compile needs to be in $SUDO_USER/src like the other
scripts, i added a TODO note for you.

>  This is the recommended way as per official install
> page.

the "official" way can take a hike :)

> pip3 uses git to clone the repository and install. And it installs cocotb-bus
> dependency as well.

yes.  usually in a way that is also a damn nuisance, pulling in arbitrary
untrusted untrustable dependencies that you have absolutely no control
over, in a non-repeatable fashion.

been here dozens of times.

>  We can specify the git tag or revision to pip3 for
> specific
> installation.
> cocotb-config --help and --version works. I have not run real simulation
> though,
> as I do not know how to do it. Can you check it. Or give me hints for how to
> do
> it.

$ cd tests
$ make

it will be necessary to add "apt-get install python3-pytests" to the
list of dependencies.

the developers have failed to add that to the list of dependencies
in setup.py.  there's a way you're supposed to do that, for testing
(python3 setup.py test) so you receive a notice.

add python3-pytests to the list of build dependencies.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list