Closed github-4o closed 3 years ago
You'll need a newer version of ghdl, 36ae5c1f is about a month old.
ok, checking it
$ make
yosys-config --exec --cxx -c --cxxflags -o ghdl.o src/ghdl.cc -fPIC -DYOSYS_ENABLE_GHDL -I/usr/local/include -O
yosys-config --build ghdl.so ghdl.o -shared /usr/local/lib/libghdl-1_0_0rc3.so -Wl,-rpath,/usr/local/lib/
$ make install
yosys-config --exec mkdir -p --datdir/plugins
yosys-config --exec cp ghdl.so --datdir/plugins
$ ghdl --version
GHDL 1.0.0rc3 (1.0.0rc1.r2.g4dc37524) [Dunoon edition]
Compiled with GNAT Version: 8.3.0
llvm code generator
Written by Tristan Gingold.
Copyright (C) 2003 - 2021 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ yosys --version
Yosys 0.9+3833 (git sha1 b0004911, clang 7.0.1-8+rpi3+deb10u2 -fPIC -Os)
$ git log -1
commit cba859cacf8c6631146dbdaa0f297c060b5a68cd (HEAD -> master, origin/master, origin/HEAD)
Author: Tristan Gingold <tgingold@free.fr>
Date: Mon Jan 25 18:32:14 2021 +0100 testsuite: add testcase for ghdl/ghdl#1610
updating ghdl fixed the build