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
5e17ef5d
Unverified
Commit
5e17ef5d
authored
Oct 07, 2019
by
Quan (Andy) Gan
Committed by
GitHub
Oct 07, 2019
Browse files
[Release] Fix Conda CMake flags (#907)
* [Release] Fix CMake flags * more fix
parent
8c20c666
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
conda/dgl/bld.bat
conda/dgl/bld.bat
+2
-2
conda/dgl/build.sh
conda/dgl/build.sh
+1
-1
No files found.
conda/dgl/bld.bat
View file @
5e17ef5d
REM Needs vcvars64.bat to be called
REM Needs vcvars64.bat to be called
git
submodule
init
git
submodule
init
git
submodule
update
git
submodule
update
--recursive
md
build
md
build
cd
build
cd
build
cmake
-DUSE
_CUDA
=
%USE_CUDA%
-DUSE
_OPENMP
=
ON
-DCUDA
_ARCH_NAME
=
All
-DCMAKE
_CXX_FLAGS
=
"/DDGL_EXPORTS"
-DCMAKE
_CONFIGURATION_TYPES
=
"Release"
..
-G
"Visual Studio 15 2017 Win64"
||
EXIT
/B
1
cmake
-DUSE
_CUDA
=
%USE_CUDA%
-DUSE
_OPENMP
=
ON
-DCUDA
_ARCH_NAME
=
All
-DCMAKE
_CXX_FLAGS
=
"/DDGL_EXPORTS"
-DCMAKE
_CONFIGURATION_TYPES
=
"Release"
-DDMLC
_FORCE_SHARED_CRT
=
ON
..
-G
"Visual Studio 15 2017 Win64"
||
EXIT
/B
1
msbuild
dgl
.sln
||
EXIT
/B
1
msbuild
dgl
.sln
||
EXIT
/B
1
COPY
Release
\dgl.dll .
COPY
Release
\dgl.dll .
cd
..\python
cd
..\python
...
...
conda/dgl/build.sh
View file @
5e17ef5d
git submodule init
git submodule init
git submodule update
git submodule update
--recursive
mkdir
build
mkdir
build
cd
build
cd
build
cmake
-DUSE_CUDA
=
$USE_CUDA
-DUSE_OPENMP
=
ON
-DCUDA_ARCH_NAME
=
All ..
cmake
-DUSE_CUDA
=
$USE_CUDA
-DUSE_OPENMP
=
ON
-DCUDA_ARCH_NAME
=
All ..
...
...
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