black-parrot / black-parrot-sim

BSD 3-Clause "New" or "Revised" License
11 stars 7 forks source link

Building on Ubuntu 20.04 #1

Closed jackhumphries closed 2 years ago

jackhumphries commented 2 years ago

Hello,

My colleagues and I needed to run these additional commands to get BlackParrot to run on Ubuntu 20.04:

apt install pip verilator pkg-config uuid-dev default-jre tcl
pip install pytest
pip install pytest-pythonpath

Furthermore, I needed to create an alias for cmake3 to cmake.

I didn't immediately see these commands in the instructions, so it may be helpful to add them.

omasanori commented 2 years ago

Could you describe when pytest packages are required?

MaahAnvari commented 2 years ago

How did you create an alias for cmake? I am trying to make it but I got the cmake3: command not found.

dpetrisko commented 2 years ago

FYI alias cmake=cmake3 will do the trick. However, I've added an autoalias into the latest sw_dev that also solves the issue a little more elegantly: https://github.com/black-parrot/black-parrot/blob/sw_dev/tools/Makefile.common#L3

dpetrisko commented 2 years ago

I believe this is resolved with the latest instructions (the included docker image is 20.04 and builds out of box)