mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-08 20:21:25 +00:00
libs/fst: Update from upstream
Add shell script (based on minisat lib) to clone and copy relevant files. Unclear if there are any changes lost that we need to patch back in.
This commit is contained in:
parent
f137509505
commit
2edb9397c3
7 changed files with 8983 additions and 6596 deletions
13
libs/fst/00_UPDATE.sh
Executable file
13
libs/fst/00_UPDATE.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
mv config.h config.h.bak
|
||||
rm -f *.txt *.cc *.h
|
||||
git clone --depth 1 https://github.com/gtkwave/gtkwave fst_upstream
|
||||
rm fst_upstream/lib/libfst/CMakeLists.txt
|
||||
mv fst_upstream/lib/libfst/*.{h,c,txt} .
|
||||
rm -rf fst_upstream
|
||||
|
||||
for src in *.c; do
|
||||
mv -- "$src" "${src%.c}.cc"
|
||||
done
|
||||
mv config.h.bak config.h
|
Loading…
Add table
Add a link
Reference in a new issue