#!/bin/bash python3 -m venv .env . .env/bin/activate pip3 install nose git clone https://gitlab.com/nmigen/nmigen-boards.git git clone https://gitlab.com/nmigen/nmigen.git git clone https://git.libre-soc.org/git/c4m-jtag.git git clone https://git.libre-soc.org/git/nmutil.git git clone https://git.libre-soc.org/git/openpower-isa.git git clone https://git.libre-soc.org/git/ieee754fpu.git git clone https://gitlab.com/nmigen/nmigen-soc.git git clone https://git.libre-soc.org/git/soc.git # nmigen cd /home/$SUDO_USER/src/nmigen git tag | xargs git tag -d # very annoying python3 setup.py develop # nmigen-boards cd /home/$SUDO_USER/src/nmigen-boards git tag | xargs git tag -d # very annoying python3 setup.py develop # nmigen-soc cd ../nmigen-soc git tag | xargs git tag -d # very annoying python3 setup.py develop # c4m-jtag cd ../c4m-jtag git tag | xargs git tag -d # very annoying python3 setup.py develop # nmutil cd ../nmutil python3 setup.py develop # openpower-isa cd ../openpower-isa python3 setup.py develop make svanalysis make pywriter make pyfnwriter # ieee754fpy cd ../ieee754fpu git submodule update --init --recursive python3 setup.py develop # soc cd ../soc make gitupdate python3 setup.py develop # sigh sort out pinmux cd pinmux git checkout d96f737c0a53dde983 cd .. make mkpinmux # comment this out - takes too long. run it manually # nosetests -v --processes=-1 --process-timeout=120