From a4267e8e1fee553b06b565c3d73d94a50f1975c0 Mon Sep 17 00:00:00 2001 From: Cole Poirier Date: Sun, 12 Jul 2020 13:38:21 -0700 Subject: [PATCH] Add nmigen-soc installation to script, use known-working nmigen commit --- hdl-dev-repos | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/hdl-dev-repos b/hdl-dev-repos index f570b2a..16a8978 100755 --- a/hdl-dev-repos +++ b/hdl-dev-repos @@ -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 +" -- 2.30.2