Closed omasanori closed 2 years ago
I found that Git provided by CentOS 7 (1.8.x) is too old to follow the instructions:
$ git --version git version 1.8.3.1 $ make prep_lite cd /home/user/black-parrot-sim; git submodule update --init --recursive --checkout /home/user/black-parrot-sim/rtl cd /home/user/black-parrot-sim; git submodule update --init --recursive --checkout /home/user/black-parrot-sim/sdk make -C /home/user/black-parrot-sim/rtl tools_lite make[1]: Entering directory `/home/user/black-parrot-sim/rtl' make verilator make[2]: Entering directory `/home/user/black-parrot-sim/rtl' rm -rf /home/user/black-parrot-sim/rtl/tools/install/touchfiles/tools/verilator.* cd /home/user/black-parrot-sim/rtl/tools; git submodule update --init --recursive --checkout /home/user/black-parrot-sim/rtl/tools/verilator You need to run this command from the toplevel of the working tree. make[2]: *** [/home/user/black-parrot-sim/rtl/tools/install/touchfiles/tools/verilator.d384a69877f2c01882f4907033552aa90dbe060f] Error 1 make[2]: Leaving directory `/home/user/black-parrot-sim/rtl' make[1]: *** [tools_lite] Error 2 make[1]: Leaving directory `/home/user/black-parrot-sim/rtl' make: *** [prep_lite] Error 2
After installing git222 from IUS instead of the stock git package:
git222
git
$ git --version git version 2.22.5 $ make prep_lite cd /home/user/black-parrot-sim; git submodule update --init --recursive --checkout /home/user/black-parrot-sim/rtl cd /home/user/black-parrot-sim; git submodule update --init --recursive --checkout /home/user/black-parrot-sim/sdk make -C /home/user/black-parrot-sim/rtl tools_lite make[1]: Entering directory `/home/user/black-parrot-sim/rtl' make verilator make[2]: Entering directory `/home/user/black-parrot-sim/rtl' rm -rf /home/user/black-parrot-sim/rtl/tools/install/touchfiles/tools/verilator.* cd /home/user/black-parrot-sim/rtl/tools; git submodule update --init --recursive --checkout /home/user/black-parrot-sim/rtl/tools/verilator make verilator_build make[3]: Entering directory `/home/user/black-parrot-sim/rtl' (...)
Added to the readme, thanks
I found that Git provided by CentOS 7 (1.8.x) is too old to follow the instructions:
After installing
git222
from IUS instead of the stockgit
package: