mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-21 11:52:07 +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:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
- run: sudo apt-get install libfl-dev
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make vcxsrc YOSYS_VER=latest
|
run: make vcxsrc YOSYS_VER=latest
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
|
|
@ -20,6 +20,13 @@ mv zlib-1.2.11/* "$vcxsrc"/yosys/libs/zlib/.
|
||||||
rm -rf zlib-1.2.11
|
rm -rf zlib-1.2.11
|
||||||
pushd "$vcxsrc"/yosys
|
pushd "$vcxsrc"/yosys
|
||||||
ls libs/zlib/*.c | sed 's,.*:,,; s,//*,/,g; s,/[^/]*/\.\./,/,g; y, \\,\n\n,;' | grep '^[^/]' >> ../../srcfiles.txt
|
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
|
popd
|
||||||
{
|
{
|
||||||
n=$(grep -B999 '<ItemGroup>' "$vcxsrc"/YosysVS/YosysVS.vcxproj | wc -l)
|
n=$(grep -B999 '<ItemGroup>' "$vcxsrc"/YosysVS/YosysVS.vcxproj | wc -l)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue