项目文件夹

文件
Quan (Andy) Gan 75e2af7993 [CI] Jenkins on Windows builds (#324)
* Jenkins build & test on Windows

* oops

* still running nohup on Windows slaves

* ooops again

* squishing vcvars and cmake

* another try

* reverting back

* --user

* switching to msbuild

* made the graph size in cache testing bigger

* put commands into script files

* oooops
2018-12-22 00:39:29 -05:00

22 行
511 B
Batchfile

@ECHO OFF
SETLOCAL EnableDelayedExpansion
DEL /S /Q build
DEL /S /Q _download
MD build
PUSHD build
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
cmake -DCMAKE_CXX_FLAGS="/DDGL_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" .. -G "Visual Studio 15 2017 Win64" || EXIT /B 1
msbuild dgl.sln || EXIT /B 1
COPY Release\dgl.dll .
POPD
PUSHD python
DEL /S /Q build *.egg-info dist
pip install -e . --force-reinstall --user || EXIT /B 1
POPD
ENDLOCAL
EXIT /B