3
0
Fork 0
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:
Krystine Sherwin 2024-10-17 07:05:23 +13:00
parent f137509505
commit 2edb9397c3
No known key found for this signature in database
7 changed files with 8983 additions and 6596 deletions

13
libs/fst/00_UPDATE.sh Executable file
View 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