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/westerndigitalcorporation/pyvcd.git
7 git clone https://gitlab.com/nmigen/nmigen-boards.git
8 git clone https://gitlab.com/nmigen/nmigen.git
9 git clone https://git.libre-soc.org/git/c4m-jtag.git
10 git clone https://git.libre-soc.org/git/nmutil.git
11 git clone https://git.libre-soc.org/git/openpower-isa.git
12 git clone https://git.libre-soc.org/git/ieee754fpu.git
13 git clone https://gitlab.com/nmigen/nmigen-soc.git
14 git clone https://git.libre-soc.org/git/soc.git
15 git clone https://git.libre-soc.org/git/pytest-output-to-files.git
16
17 # pytest-output-to-files
18 pushd pytest-output-to-files
19 python3 setup.py develop
20 popd
21
22 # pyvcd - needed for nmigen
23 cd /home/$SUDO_USER/src/pyvcd
24 git checkout 0.2.4
25 python3 setup.py develop --no-deps
26
27 # nmigen
28 cd /home/$SUDO_USER/src/nmigen
29 git tag | xargs git tag -d # very annoying
30 python3 setup.py develop
31
32 # nmigen-boards
33 cd /home/$SUDO_USER/src/nmigen-boards
34 git tag | xargs git tag -d # very annoying
35 python3 setup.py develop
36
37 # nmigen-soc
38 cd ../nmigen-soc
39 git tag | xargs git tag -d # very annoying
40 python3 setup.py develop
41
42 # c4m-jtag
43 cd ../c4m-jtag
44 git tag | xargs git tag -d # very annoying
45 python3 setup.py develop
46
47 # nmutil
48 cd ../nmutil
49 python3 setup.py develop
50
51 # openpower-isa
52 cd ../openpower-isa
53 python3 setup.py develop
54 make svanalysis
55 make pywriter
56 make pyfnwriter
57
58 # ieee754fpy
59 cd ../ieee754fpu
60 git submodule update --init --recursive
61 python3 setup.py develop
62
63 # soc
64 cd ../soc
65 make gitupdate
66 python3 setup.py develop
67 # sigh sort out pinmux
68 cd pinmux
69 git checkout d96f737c0a53dde983
70 cd ..
71
72 make mkpinmux
73
74 # comment this out - takes too long. run it manually
75 # nosetests -v --processes=-1 --process-timeout=120
76