From: Tobias Platen Date: Tue, 14 Jul 2020 18:38:43 +0000 (+0200) Subject: add setup script for use with virtualenv X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=deadc7b72ca4ba28f0ec3bb4ebae720ef2d56521;p=dev-env-setup.git add setup script for use with 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