git clone https://github.com/z4yx/NaiveMIPS-HDL.git
cd NaiveMIPS-HDL
# building process takes about one hour
vivado -mode tcl -source xilinx/NaiveMIPS/build.tcl xilinx/NaiveMIPS/PrjVivao.xpr
On Ubuntu for example
apt install docker.io
https://github.com/z4yx/vivado-docker
git clone https://github.com/z4yx/NaiveMIPS-HDL.git
cd NaiveMIPS-HDL
# building process takes about one hour
docker run -ti --rm -v $PWD:/home/vivado/project vivado:2018.1 /opt/Xilinx/Vivado/2018.1/bin/vivado -mode tcl -source xilinx/NaiveMIPS/build.tcl xilinx/NaiveMIPS/PrjVivao.xpr
docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/home/vivado/project vivado:2018.1