Skip to content

Commit d60269b

Browse files
committed
Add a script to check the needed dynamic libraries
1 parent aa2d247 commit d60269b

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

‎tests/checklibs.sh‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
DOCKER="docker run --rm -v $HOME:$HOME -w $PWD --user $(id -u):$(id -g) ghcr.io/pyfpga/langutils"
6+
echo "* vhd2vl"
7+
$DOCKER ldd /usr/local/bin/vhd2vl
8+
echo "* sv2v"
9+
$DOCKER ldd /usr/local/bin/sv2v
10+
echo "* slang"
11+
$DOCKER ldd /usr/local/bin/slang
12+
echo "* surelog"
13+
$DOCKER ldd /usr/local/bin/surelog
14+
echo "* verible"
15+
$DOCKER ldd /usr/local/bin/verible-verilog-syntax
16+
echo "* svlint"
17+
$DOCKER ldd /usr/local/bin/svlint
18+
19+
DOCKER="docker run --rm -v $HOME:$HOME -w $PWD --user $(id -u):$(id -g) ghcr.io/pyfpga/synthesis"
20+
echo "* ghdl"
21+
$DOCKER ldd /usr/local/bin/ghdl
22+
echo "* yosys"
23+
$DOCKER ldd /usr/local/bin/yosys
24+
echo "* synlig"
25+
$DOCKER ldd /usr/local/bin/synlig
26+
27+
DOCKER="docker run --rm -v $HOME:$HOME -w $PWD --user $(id -u):$(id -g) ghcr.io/pyfpga/simulation"
28+
echo "* ghdl"
29+
$DOCKER ldd /usr/local/bin/ghdl
30+
echo "* iverilog"
31+
$DOCKER ldd /usr/local/bin/iverilog
32+
echo "* verilator"
33+
$DOCKER ldd /usr/local/bin/verilator_bin
34+
35+
echo "Test passed"

0 commit comments

Comments
 (0)