1 Star 0 Fork 0

hh/ovs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
Timothy Redaelli 提交于 2019-12-20 18:35 . Remove dependency on python3-six
version: 1.0.{build}
branches:
only:
- master
clone_folder: C:\openvswitch
init:
- ps: $env:PATH ="C:\Python37;"+$env:PATH
- ps: New-Item -Type HardLink -Path "C:\Python37\python3.exe" -Value "C:\Python37\python.exe"
- ps: >-
mkdir C:\pthreads-win32
mkdir C:\ovs-build-downloads
$source = "ftp://sourceware.org/pub/pthreads-win32/pthreads-w32-2-9-1-release.zip"
$destination = "C:\pthreads-win32\pthreads-win32.zip"
Invoke-WebRequest $source -OutFile $destination
$source = "https://slproweb.com/download/Win32OpenSSL-1_0_2t.exe"
$destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_2t.exe"
Invoke-WebRequest $source -OutFile $destination
cd C:\pthreads-win32
7z x C:\pthreads-win32\pthreads-win32.zip
cd C:\ovs-build-downloads
.\Win32OpenSSL-1_0_2t.exe /silent /verysilent /sp- /suppressmsgboxes
Start-Sleep -s 30
cd C:\openvswitch
python3 -m pip install pypiwin32 --disable-pip-version-check
build_script:
- '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\VsDevCmd"'
- C:\MinGW\msys\1.0\bin\bash -lc "echo \"C:/MinGW /mingw\" > /etc/fstab"
- C:\MinGW\msys\1.0\bin\bash -lc "cp /c/pthreads-win32/Pre-built.2/dll/x86/*.dll /c/openvswitch/."
- C:\MinGW\msys\1.0\bin\bash -lc "mv /bin/link.exe /bin/link_copy.exe"
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./boot.sh"
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./configure CC=build-aux/cccl LD=\"`which link`\" LIBS=\"-lws2_32 -lShlwapi -liphlpapi -lwbemuuid -lole32 -loleaut32\" --with-pthread=C:/pthreads-win32/Pre-built.2 --with-openssl=C:/OpenSSL-Win32 --with-vstudiotarget=\"Debug\"
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make"
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make datapath_windows_analyze"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/h3zh1/ovs.git
git@gitee.com:h3zh1/ovs.git
h3zh1
ovs
ovs
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385