check out specific version of yosys needed for ls180 build
[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/ieee754fpu.git
10 git clone https://git.libre-soc.org/git/nmigen-soc.git
11 git clone https://git.libre-soc.org/git/soc.git
12
13 cd nmigen
14 python3 setup.py develop
15 cd ../nmutil
16 python3 setup.py develop
17 cd ../c4m-jtag
18 python3 setup.py develop
19 cd ../ieee754fpu
20 git submodule update --init --recursive
21 python3 setup.py develop
22 cd ../nmigen-soc
23 python3 setup.py develop
24 cd ../soc
25 make gitupdate
26 python3 setup.py develop
27 python src/soc/decoder/pseudo/pywriter.py
28 nosetests -v --processes=-1 --process-timeout=120