3 then echo "Please run as root"
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/nmutil.git
13 git clone https://git.libre-soc.org/git/ieee754fpu.git
14 git clone https://git.libre-soc.org/git/nmigen-soc.git
15 git clone https://git.libre-soc.org/git/soc.git
17 cd /home
/$SUDO_USER/src
/nmigen
18 python3 setup.py develop
20 python3 setup.py develop
22 git submodule update
--init --recursive
23 python3 setup.py develop
25 python3 setup.py develop
27 git submodule update
--init --recursive
28 python3 setup.py develop
33 \e[1;91mAll Libre-SOC dev dependenices should now be installed.\e[0m