Unverified Commit 8f426250 authored by Quan (Andy) Gan's avatar Quan (Andy) Gan Committed by GitHub
Browse files

switching to msbuild for conda windows (#448)

parent 13272628
REM Needs vcvars64.bat to be called
git submodule init git submodule init
git submodule update git submodule update
md build md build
cd build cd build
cmake -DCMAKE_CXX_FLAGS="-DDMLC_LOG_STACK_TRACE=0 -DDGL_EXPORTS" -DCMAKE_MAKE_PROGRAM=mingw32-make .. -G "MinGW Makefiles" cmake -DCMAKE_CXX_FLAGS="/DDGL_EXPORTS" -DCMAKE_CONFIGURATION_TYPES="Release" .. -G "Visual Studio 15 2017 Win64" || EXIT /B 1
if errorlevel 1 exit 1 msbuild dgl.sln || EXIT /B 1
mingw32-make COPY Release\dgl.dll .
if errorlevel 1 exit 1
cd ..\python cd ..\python
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt "%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt || EXIT /B 1
if errorlevel 1 exit 1 EXIT /B
...@@ -3,7 +3,7 @@ package: ...@@ -3,7 +3,7 @@ package:
version: "0.2" version: "0.2"
source: source:
git_rev: 0.1.x git_rev: 0.2.x
git_url: https://github.com/dmlc/dgl.git git_url: https://github.com/dmlc/dgl.git
requirements: requirements:
...@@ -12,8 +12,7 @@ requirements: ...@@ -12,8 +12,7 @@ requirements:
- setuptools - setuptools
- cmake - cmake
- git - git
- m2w64-gcc # [win] - cython
- m2w64-make # [win]
run: run:
- python - python
- numpy - numpy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment