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
16cd670d
Commit
16cd670d
authored
Oct 18, 2018
by
Gan Quan
Browse files
MinGW building instructions
parent
bc3f852d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
README.md
README.md
+22
-0
No files found.
README.md
View file @
16cd670d
...
...
@@ -28,6 +28,8 @@ To sync the submodules, run
$
git submodule update
```
### Linux
At the root directory of the repo:
```
sh
...
...
@@ -39,3 +41,23 @@ $ export DGL_LIBRARY_PATH=$PWD
```
The
`DGL_LIBRARY_PATH`
environment variable should point to the library
`libdgl.so`
built by CMake.
### Windows/MinGW (Experimental)
Make sure you have the following installed:
*
CMake
*
MinGW/GCC (G++)
*
MinGW/Make
You can grab them from Anaconda.
In the command line prompt, run:
```
> md build
> cd build
> cmake -DCMAKE_CXX_FLAGS="-DDMLC_LOG_STACK_TRACE=0 -DTVM_EXPORTS" .. -G "MinGW Makefiles"
> mingw32-make
> set DGL_LIBRARY_PATH=%CD%
```
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