Add nmigen-soc installation to script, use known-working nmigen commit
authorCole Poirier <colepoirier@gmail.com>
Sun, 12 Jul 2020 20:38:21 +0000 (13:38 -0700)
committerCole Poirier <colepoirier@gmail.com>
Sun, 12 Jul 2020 20:38:21 +0000 (13:38 -0700)
hdl-dev-repos

index f570b2a747124f7ddaaca802594424c48c01d9a7..16a89786b2720c2c1b0828836c73e4c441027124 100755 (executable)
@@ -12,19 +12,33 @@ cd /home/$MYNAME
 mkdir src
 cd src
 git clone https://github.com/nmigen/nmigen.git
-git clone https://git.libre-riscv.org/git/nmutil.git
-git clone https://git.libre-riscv.org/git/ieee754fpu.git
-git clone https://git.libre-riscv.org/git/soc.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 /home/$MYNAME/src/nmigen
+echo -e "
+\e[1;91mUsing nmigen version 303ea18cb60567e45a755c6b6289a601f27d46e6 until https://github.com/nmigen/nmigen/issues/429 is resolved\e[0m
+"
+git checkout 303ea18cb60567e45a755c6b6289a601f27d46e6
 python3 setup.py develop
-python3 setup.py test
 cd ../nmutil
 python3 setup.py develop
 cd ../ieee754fpu
 git submodule update --init --recursive
 python3 setup.py develop
+cd ../nmigen-soc
+python3 setup.py develop
 cd ../soc
 git submodule update --init --recursive
 python3 setup.py develop
 cd ../
+chown -R $MYNAME .
+chgrp -R $MYNAME .
+echo -e "
+\e[1;91mUsing nmigen version 303ea18cb60567e45a755c6b6289a601f27d46e6 until https://github.com/nmigen/nmigen/issues/429 is resolved.\e[0m
+"
+echo -e "
+\e[1;91mAll Libre-SOC dev dependenices should now be installed.\e[0m
+"