Install vcddiff for Travis, bug1600.

This commit is contained in:
Todd Strader 2019-12-09 05:55:18 -05:00
parent c2037ddbc5
commit 9cf5acc43e
2 changed files with 19 additions and 0 deletions

View File

@ -27,6 +27,7 @@ before_install:
- yes yes | sudo cpan -fi Unix::Processors Parallel::Forker Bit::Vector
- sudo apt-get install gdb gtkwave
before_script:
- bash -x ci/build_vcddiff.sh
- bash -x ci/build_verilator.sh
after_script:
- ccache -s

18
ci/build_vcddiff.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# DESCRIPTION: Verilator: Build script for vcddiff
#
# Copyright 2019 by Todd Strader. This program is free software; you can
# redistribute it and/or modify it under the terms of either the GNU
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
set -e
# NB: it would be better to add this via a PPA
TMP_DIR=$(mktemp -d)
git -C ${TMP_DIR} clone https://github.com/veripool/vcddiff
VCDDIFF_DIR=${TMP_DIR}/vcddiff
git -C ${VCDDIFF_DIR} checkout 5112f88b7ba8818dce9dfb72619e64a1fc19542c
make -C ${VCDDIFF_DIR}
sudo cp ${VCDDIFF_DIR}/vcddiff /usr/local/bin