474a6dfa8d10a3a03f1c85646d79482b5e35e7a3
3 then echo "Please run as root"
7 export MYNAME
=`id 1000 | awk '{print $1}' | sed 's/.*(\(.*\))/\1/'`
8 export MYHOME
=/home
/$MYNAME
10 runuser
$MYNAME --preserve-environment -c '
14 git clone https://github.com/nmigen/nmigen.git
15 git clone https://git.libre-soc.org/git/nmutil.git
16 git clone https://git.libre-soc.org/git/ieee754fpu.git
17 git clone https://git.libre-soc.org/git/nmigen-soc.git
18 git clone https://git.libre-soc.org/git/soc.git
20 cd /home
/$MYNAME/src
/nmigen
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