cd /home/$SUDO_USER
mkdir -p src
cd src
-git clone https://github.com/nmigen/nmigen.git
+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://git.libre-soc.org/git/nmigen-soc.git
+git clone https://gitlab.com/nmigen/nmigen-soc.git
+git clone https://gitlab.com/nmigen/nmigen-stdio.git
git clone https://git.libre-soc.org/git/soc.git
'
# 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 --no-deps
+
# nmigen-soc
cd ../nmigen-soc
git tag | xargs git tag -d # very annoying
python3 setup.py develop
+# nmigen-stdio
+cd ../nmigen-stdio
+git tag | xargs git tag -d # very annoying
+python3 setup.py develop
+
+# XXX GRRR run this again: TODO, resolve dependencies
+# nmigen
+cd /home/$SUDO_USER/src/nmigen
+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
make svanalysis
make pywriter
+make pyfnwriter
# ieee754fpy
cd ../ieee754fpu
cd ../soc
make gitupdate
python3 setup.py develop
+# sigh sort out pinmux
+cd pinmux
+git checkout d96f737c0a53dde983
+cd ..
make mkpinmux
cd ../
echo -e "
\e[1;91mAll Libre-SOC dev dependenices should now be installed.\e[0m
"
+