Skip to content

Commit

Permalink
merge coee
Browse files Browse the repository at this point in the history
  • Loading branch information
jingjingxyk committed Dec 15, 2024
1 parent 0316230 commit 8d56ff7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
23 changes: 22 additions & 1 deletion sapi/quickstart/windows/cygwin-build/download-cygwin.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
@echo off

setlocal

echo %~dp0
cd /d %~dp0
cd /d ..\..\..\..\

set "__PROJECT__=%cd%"
echo %cd%

md %__PROJECT__%\var\windows-cygwin-build-deps\

cd /d %__PROJECT__%\var\windows-cygwin-build-deps\

:: cygwin site: https://cygwin.com/
start https://cygwin.com/setup-x86_64.exe
curl.exe -fSLo setup-x86_64.exe https://cygwin.com/setup-x86_64.exe


:: exit /b 0

cd /d %__PROJECT__%\

endlocal
17 changes: 17 additions & 0 deletions sapi/quickstart/windows/cygwin-build/install-cygwin.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
@echo off

setlocal

echo %~dp0
cd /d %~dp0
cd /d ..\..\..\..\

set "__PROJECT__=%cd%"
echo %cd%

md %__PROJECT__%\var\windows-cygwin-build-deps\

cd /d %__PROJECT__%\var\windows-cygwin-build-deps\


:: cygwin安装多个包,包之间,用逗号分隔

setup-x86_64.exe --no-desktop --no-shortcuts --no-startmenu --quiet-mode --disable-buggy-antivirus --site https://mirrors.ustc.edu.cn/cygwin/ --packages make,git,curl,wget,tar,libtool,bison,gcc-g++,autoconf,automake,openssl,libpcre2-devel,libssl-devel,libcurl-devel,libxml2-devel,libxslt-devel,libgmp-devel,ImageMagick,libpng-devel,libjpeg-devel,libfreetype-devel,libwebp-devel,libsqlite3-devel,zlib-devel,libbz2-devel,liblz4-devel,liblzma-devel,libzip-devel,libicu-devel,libonig-devel,libcares-devel,libsodium-devel,libyaml-devel,libMagick-devel,libzstd-devel,libbrotli-devel,libreadline-devel,libintl-devel,libpq-devel,libssh2-devel,libidn2-devel,gettext-devel,coreutils,openssl-devel
Expand All @@ -9,4 +24,6 @@ setup-x86_64.exe --quiet-mode --disable-buggy-antivirus --site https://mirr

setup-x86_64.exe --quiet-mode --disable-buggy-antivirus --site https://mirrors.ustc.edu.cn/cygwin/ --packages libzstd-devel

cd /d %__PROJECT__%\

endlocal

0 comments on commit 8d56ff7

Please sign in to comment.