add setup script for use with virtualenv
authorTobias Platen <tplaten@posteo.de>
Tue, 14 Jul 2020 18:38:43 +0000 (20:38 +0200)
committerTobias Platen <tplaten@posteo.de>
Tue, 14 Jul 2020 18:38:43 +0000 (20:38 +0200)
hdl-dev-repos-virtualenv [new file with mode: 0755]

diff --git a/hdl-dev-repos-virtualenv b/hdl-dev-repos-virtualenv
new file mode 100755 (executable)
index 0000000..5ffb57a
--- /dev/null
@@ -0,0 +1,25 @@
+#!/bin/bash
+python3 -m venv .env
+. .env/bin/activate
+pip3 install nose
+
+git clone https://github.com/nmigen/nmigen.git
+git clone https://git.libre-soc.org/git/nmutil.git
+git clone https://git.libre-soc.org/git/ieee754fpu.git
+git clone https://git.libre-soc.org/git/nmigen-soc.git
+git clone https://git.libre-soc.org/git/soc.git
+
+cd nmigen
+python3 setup.py install
+cd ../nmutil
+python3 setup.py install
+cd ../ieee754fpu
+git submodule update --init --recursive
+python3 setup.py install
+cd ../nmigen-soc
+python3 setup.py install
+cd ../soc
+make gitupdate
+python3 setup.py develop
+python src/soc/decoder/pseudo/pywriter.py
+nosetests -v --processes=-1 --process-timeout=120