mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 16:45:32 +00:00
Fix Visual Studio build
This commit is contained in:
parent
990aee5531
commit
4a30c9cb94
6 changed files with 34 additions and 59 deletions
|
@ -7,11 +7,20 @@ gitsha="$3"
|
|||
|
||||
rm -rf YosysVS-Tpl-v2.zip YosysVS
|
||||
wget https://yosyshq.net/yosys/nogit/YosysVS-Tpl-v2.zip
|
||||
wget https://zlib.net/zlib-1.2.11.tar.gz
|
||||
|
||||
unzip YosysVS-Tpl-v2.zip
|
||||
rm -f YosysVS-Tpl-v2.zip
|
||||
mv YosysVS "$vcxsrc"
|
||||
tar xvfz zlib-1.2.11.tar.gz
|
||||
|
||||
mv YosysVS "$vcxsrc"
|
||||
mkdir -p "$vcxsrc"/yosys
|
||||
mkdir -p "$vcxsrc"/yosys/libs/zlib
|
||||
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
|
||||
popd
|
||||
{
|
||||
n=$(grep -B999 '<ItemGroup>' "$vcxsrc"/YosysVS/YosysVS.vcxproj | wc -l)
|
||||
head -n$n "$vcxsrc"/YosysVS/YosysVS.vcxproj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue