3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-03 23:57:58 +00:00

Update CI scripts for CMake

Co-authored-by: Catherine <whitequark@whitequark.org>
This commit is contained in:
Miodrag Milanovic 2026-05-22 12:31:30 +02:00 committed by Catherine
parent 0d54b0b439
commit e2766ed61c
34 changed files with 382 additions and 343 deletions

View file

@ -4,7 +4,7 @@ rm -rf plugin_search
CXXFLAGS=$(${YOSYS_CONFIG} --cxxflags)
DATDIR=$(${YOSYS_CONFIG} --datdir)
DATDIR=${DATDIR//\//\\\/}
CXXFLAGS=${CXXFLAGS//$DATDIR/..\/..\/share}
CXXFLAGS=${CXXFLAGS//$DATDIR/$BUILD_DIR/share}
${YOSYS_CONFIG} --exec --cxx ${CXXFLAGS} --ldflags -shared -o plugin.so plugin.cc
${YOSYS} -m ./plugin.so -p "test" | grep -q "Plugin test passed!"
mkdir -p plugin_search