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
"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "8fe72d131d6d2862b9db1efb3ffa2a6ded15efc8"
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
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
conda/dgl/meta.yaml
View file @
8f426250
...
@@ -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
...
...
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