From deadc7b72ca4ba28f0ec3bb4ebae720ef2d56521 Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Tue, 14 Jul 2020 20:38:43 +0200 Subject: [PATCH] add setup script for use with virtualenv --- hdl-dev-repos-virtualenv | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 hdl-dev-repos-virtualenv diff --git a/hdl-dev-repos-virtualenv b/hdl-dev-repos-virtualenv new file mode 100755 index 0000000..5ffb57a --- /dev/null +++ b/hdl-dev-repos-virtualenv @@ -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 -- 2.30.2