3 then echo "Please run as root using 'sudo bash'"
7 runuser
$SUDO_USER --preserve-environment -c '
11 git clone https://github.com/nmigen/nmigen.git
12 git clone https://git.libre-soc.org/git/c4m-jtag.git
13 git clone https://git.libre-soc.org/git/nmutil.git
14 git clone https://git.libre-soc.org/git/ieee754fpu.git
15 git clone https://git.libre-soc.org/git/nmigen-soc.git
16 git clone https://git.libre-soc.org/git/soc.git
18 cd /home
/$SUDO_USER/src
/nmigen
19 python3 setup.py develop
21 python3 setup.py develop
23 python3 setup.py develop
25 git submodule update
--init --recursive
26 python3 setup.py develop
28 python3 setup.py develop
30 git submodule update
--init --recursive
31 python3 setup.py develop
36 \e[1;91mAll Libre-SOC dev dependenices should now be installed.\e[0m