mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Install vcddiff for Travis, bug1600.
This commit is contained in:
parent
c2037ddbc5
commit
9cf5acc43e
@ -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
18
ci/build_vcddiff.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user