Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e31afc6

Browse files
committedJul 4, 2020
CI: use YoWASP instead of custom Yosys/nextpnr build scripts.
1 parent f885790 commit e31afc6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed
 

Diff for: ‎.travis.yml

+2-10
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,11 @@ python:
77
addons:
88
apt:
99
update: true
10-
cache:
11-
directories:
12-
- "$HOME/.ccache"
13-
- "$HOME/.local"
1410
before_install:
15-
- export PATH="/usr/lib/ccache:$HOME/.local/bin:$PATH"
1611
- sudo apt install sdcc
12+
- pip install yowasp-yosys yowasp-nextpnr-ice40-5k yowasp-nextpnr-ice40-8k
1713
install:
18-
- "(cd vendor/libfx2/software && SDAR='sdcclib r' python setup.py install)"
19-
- git clone https://github.com/YosysHQ/yosys
20-
- (cd yosys && if ! yosys -V || [ $(git rev-parse HEAD $(yosys -V | awk 'match($0,/sha1 ([0-9a-f]+)/,m) { print m[1] }') | uniq | wc -l) != 1 ]; then make CONFIG=gcc ENABLE_ABC=1 PREFIX=$HOME/.local install; fi)
21-
- git clone https://github.com/YosysHQ/nextpnr
22-
- (cd nextpnr && if ! nextpnr-ice40 --version || [ $(git rev-parse HEAD $(nextpnr-ice40 --version | awk 'match($0,/sha1 ([0-9a-f]+)/,m) { print m[1] }') | uniq | wc -l) != 1 ]; then sudo apt install libeigen3-dev python3-dev libboost-all-dev && (git clone https://github.com/cliffordwolf/icestorm && cd icestorm && make ICEPROG=0 PREFIX=$HOME/.local install) && mkdir build-ice40 && cd build-ice40 && cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/.local -DBUILD_GUI=OFF -DARCH=ice40 -DICEBOX_ROOT=$HOME/.local/share/icebox && make install; fi)
14+
- export YOSYS=yowasp-yosys NEXTPNR_ICE40=yowasp-nextpnr-ice40 ICEPACK=yowasp-icepack
2315
script:
2416
- "(cd software && python setup.py install)"
2517
- "(cd software && python -W ignore::DeprecationWarning test.py)"

0 commit comments

Comments
 (0)
Please sign in to comment.