aboutsummaryrefslogtreecommitdiff
path: root/.install_yosys.sh
diff options
context:
space:
mode:
authorJack Koenig2017-10-01 11:18:23 -0700
committerJack Koenig2017-10-01 11:18:23 -0700
commitb495fdbedf126f4bae2d1bfcb7174f30d4f75fd1 (patch)
tree8e72acdd1f6b7b9a2c9e2a62ebd0521767b97ef9 /.install_yosys.sh
parent12d0b969f79009c61c1bd2e44a03800439070d45 (diff)
Add Yosys 0.7 install
Diffstat (limited to '.install_yosys.sh')
-rw-r--r--.install_yosys.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/.install_yosys.sh b/.install_yosys.sh
new file mode 100644
index 00000000..b4fa8984
--- /dev/null
+++ b/.install_yosys.sh
@@ -0,0 +1,11 @@
+set -e
+# Install Yosys (https://github.com/cliffordwolf/yosys)
+if [ ! -f $INSTALL_DIR/bin/yosys ]; then
+ mkdir -p $INSTALL_DIR
+ git clone https://github.com/cliffordwolf/yosys.git
+ cd yosys
+ git pull
+ git checkout yosys-0.7
+ make
+ make PREFIX=$INSTALL_DIR install
+fi