aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.install_yosys.sh11
-rw-r--r--.travis.yml2
2 files changed, 13 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
diff --git a/.travis.yml b/.travis.yml
index 91a9c006..b41ba9b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,6 +23,8 @@ env:
before_script:
- bash .install_verilator.sh
- verilator --version
+ - bash .install_yosys.sh
+ - yosys -V
jobs:
include: