"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "66eb240d15d62a3153bd14941057fe6f7ff893ba"
Commit 3894e8fa authored by Gan Quan's avatar Gan Quan
Browse files

brief building instructions

parent d772d390
...@@ -14,4 +14,16 @@ Show below, there are three sets of APIs for different models. ...@@ -14,4 +14,16 @@ Show below, there are three sets of APIs for different models.
- Always choose the API at the *highest* possible level. - Always choose the API at the *highest* possible level.
- Refer to [the default modules](examples/pytorch/util.py) to see how to register message and node update functions as well as readout functions; note how you can control sharing of parameters by adding a counter. - Refer to [the default modules](examples/pytorch/util.py) to see how to register message and node update functions as well as readout functions; note how you can control sharing of parameters by adding a counter.
## How to build (the `cpp` branch)
At the root directory of the repo:
```sh
$ mkdir build
$ cd build
$ cmake ..
$ make
$ export DGL_LIBRARY_PATH=$PWD/build
```
The `DGL_LIBRARY_PATH` environment variable should point to the library `libdgl.so` built by CMake.
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