dmlc--dgl
168a88e570
* neighbor sampler data loader first commit * more commit * nodedataloader * fix * update RGCN example * update OGB * fixes * fix minibatch RGCN crashing with self loop * reverting gatconv test code * fix * change to new solution that doesn't require tf dataloader * fix * lint * fix * fixes * change doc * fix docstring * docstring fixes * return seeds and input nodes from data loader * fixes * fix test * fix windows build problem * add pytorch wrapper * fixes * add pytorch wrapper * add unit test * add -1 support to sample_neighbors & fix docstrings * docstring fix * lint * add minibatch rgcn evaluations Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com> Co-authored-by: Tong He <hetong007@gmail.com>
29 行
790 B
Batchfile
29 行
790 B
Batchfile
@ECHO OFF
|
|
SETLOCAL EnableDelayedExpansion
|
|
|
|
CALL mkvirtualenv --system-site-packages %BUILD_TAG%
|
|
DEL /S /Q build
|
|
DEL /S /Q _download
|
|
MD build
|
|
|
|
SET _MSPDBSRV_ENDPOINT_=%BUILD_TAG%
|
|
SET TMP=%WORKSPACE%\\tmp
|
|
SET TEMP=%WORKSPACE%\\tmp
|
|
SET TMPDIR=%WORKSPACE%\\tmp
|
|
|
|
PUSHD build
|
|
CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
|
|
cmake -DCMAKE_CXX_FLAGS="/DDGL_EXPORTS" -DUSE_OPENMP=ON -Dgtest_force_shared_crt=ON -DDMLC_FORCE_SHARED_CRT=ON -DBUILD_CPP_TEST=1 -DCMAKE_CONFIGURATION_TYPES="Release" .. -G "Visual Studio 15 2017 Win64" || EXIT /B 1
|
|
msbuild dgl.sln /m /nr:false || EXIT /B 1
|
|
COPY Release\dgl.dll .
|
|
COPY Release\runUnitTests.exe .
|
|
POPD
|
|
|
|
PUSHD python
|
|
DEL /S /Q build *.egg-info dist
|
|
pip install -e . || EXIT /B 1
|
|
POPD
|
|
|
|
ENDLOCAL
|
|
EXIT /B
|