mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-19 19:02:04 +00:00
Sneak FlexLexer.h into VS build
This commit is contained in:
parent
3b80afa26e
commit
65e026f4df
2 changed files with 8 additions and 0 deletions
1
.github/workflows/extra-builds.yml
vendored
1
.github/workflows/extra-builds.yml
vendored
|
@ -27,6 +27,7 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
persist-credentials: false
|
||||
- run: sudo apt-get install libfl-dev
|
||||
- name: Build
|
||||
run: make vcxsrc YOSYS_VER=latest
|
||||
- uses: actions/upload-artifact@v4
|
||||
|
|
|
@ -20,6 +20,13 @@ mv zlib-1.2.11/* "$vcxsrc"/yosys/libs/zlib/.
|
|||
rm -rf zlib-1.2.11
|
||||
pushd "$vcxsrc"/yosys
|
||||
ls libs/zlib/*.c | sed 's,.*:,,; s,//*,/,g; s,/[^/]*/\.\./,/,g; y, \\,\n\n,;' | grep '^[^/]' >> ../../srcfiles.txt
|
||||
|
||||
if [ -f "/usr/include/FlexLexer.h" ] ; then
|
||||
mkdir -p libs/flex
|
||||
cp /usr/include/FlexLexer.h libs/flex/FlexLexer.h
|
||||
ls libs/flex/*.h >> ../../srcfiles.txt
|
||||
fi
|
||||
|
||||
popd
|
||||
{
|
||||
n=$(grep -B999 '<ItemGroup>' "$vcxsrc"/YosysVS/YosysVS.vcxproj | wc -l)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue