Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
8f426250
Unverified
Commit
8f426250
authored
Mar 13, 2019
by
Quan (Andy) Gan
Committed by
GitHub
Mar 13, 2019
Browse files
switching to msbuild for conda windows (#448)
parent
13272628
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
conda/dgl/bld.bat
conda/dgl/bld.bat
+6
-6
conda/dgl/meta.yaml
conda/dgl/meta.yaml
+2
-3
No files found.
conda/dgl/bld.bat
View file @
8f426250
REM Needs vcvars64.bat to be called
git
submodule
init
git
submodule
update
md
build
cd
build
cmake
-DCMAKE
_CXX_FLAGS
=
"-DDMLC_LOG_STACK_TRACE=0 -DDGL_EXPORTS"
-DCMAKE
_MAKE_PROGRAM
=
mingw32
-make
..
-G
"MinGW Makefiles"
if
errorlevel
1
exit
1
mingw32
-make
if
errorlevel
1
exit
1
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 .
cd
..\python
"
%PYTHON%
"
setup
.py
install
--single-version-externally-managed --record
=
record
.txt
if
errorlevel
1
exit
1
"
%PYTHON%
"
setup
.py
install
--single-version-externally-managed --record
=
record
.txt
||
EXIT
/B
1
EXIT
/B
conda/dgl/meta.yaml
View file @
8f426250
...
...
@@ -3,7 +3,7 @@ package:
version
:
"
0.2"
source
:
git_rev
:
0.
1
.x
git_rev
:
0.
2
.x
git_url
:
https://github.com/dmlc/dgl.git
requirements
:
...
...
@@ -12,8 +12,7 @@ requirements:
-
setuptools
-
cmake
-
git
-
m2w64-gcc
# [win]
-
m2w64-make
# [win]
-
cython
run
:
-
python
-
numpy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment