Fix correct commit hash for release 0.7.0 of openXC7
[dev-env-setup.git] / hdl-dev-repos-virtualenv
1 #!/bin/bash
2 python3 -m venv .env
3 . .env/bin/activate
4 pip3 install nose
5
6 git clone https://github.com/nmigen/nmigen.git
7 git clone https://git.libre-soc.org/git/c4m-jtag.git
8 git clone https://git.libre-soc.org/git/nmutil.git
9 git clone https://git.libre-soc.org/git/openpower-isa.git
10 git clone https://git.libre-soc.org/git/ieee754fpu.git
11 git clone https://git.libre-soc.org/git/nmigen-soc.git
12 git clone https://git.libre-soc.org/git/soc.git
13
14 # nmigen
15 cd /home/$SUDO_USER/src/nmigen
16 git tag | xargs git tag -d # very annoying
17 python3 setup.py develop
18
19 # nmigen-soc
20 cd ../nmigen-soc
21 git tag | xargs git tag -d # very annoying
22 python3 setup.py develop
23
24 # c4m-jtag
25 cd ../c4m-jtag
26 git tag | xargs git tag -d # very annoying
27 python3 setup.py develop
28
29 # nmutil
30 cd ../nmutil
31 python3 setup.py develop
32
33 # openpower-isa
34 cd ../openpower-isa
35 python3 setup.py develop
36 make svanalysis
37 make pywriter
38 make pyfnwriter
39
40 # ieee754fpy
41 cd ../ieee754fpu
42 git submodule update --init --recursive
43 python3 setup.py develop
44
45 # soc
46 cd ../soc
47 make gitupdate
48 python3 setup.py develop
49 make mkpinmux
50
51 # comment this out - takes too long. run it manually
52 # nosetests -v --processes=-1 --process-timeout=120
53