nope, correct EOF, sort out apt-get install dependencies
[dev-env-setup.git] / coriolis2-chroot
index c26e9225078cdb49267c54c206f434dba99f8065..a21f0235180c643ac72d601dd70702e6ac3c225c 100755 (executable)
@@ -30,6 +30,7 @@ echo Installing necessary apt dependencies in the chroot
 apt-get update -y
 apt-get upgrade -y
 apt-get install -y automake binutils-dev bison build-essential \
+sysvinit-utils sysvinit-core \
 ccache clang cmake doxygen dvipng flex gcc git graphviz \
 imagemagick libboost-all-dev libboost-python-dev libbz2-dev \
 libmpfr-dev libgmp-dev libmotif-dev libreadline-dev \
@@ -80,6 +81,7 @@ This enables you to chroot into coriolis as an unprivileged user by running
 "
 
 # Build and install yosys from source
+# note that a specific version of yosys is needed for ls180 at the moment
 chroot /opt/chroot/coriolis /bin/bash << EOF
 apt-get update -y 
 apt-get build-dep yosys -y
@@ -89,6 +91,7 @@ runuser $SUDO_USER --preserve-environment -c 'schroot -c coriolis /bin/bash << E
 cd /home/$SUDO_USER
 git clone https://github.com/cliffordwolf/yosys.git
 cd yosys
+git checkout 049e3abf9baf795e69b9ecb9c4f19de6131f8418
 make config-clang
 make -j$(nproc)
 EOF'