build_dgl.sh 299 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

if [ -d build ]; then
	rm -rf build
fi
mkdir build

rm -rf _download

pushd build
cmake ..
make -j4
popd

pushd python
rm -rf build *.egg-info dist
pip3 uninstall -y dgl
Minjie Wang's avatar
Minjie Wang committed
18
# test install
19
python3 setup.py install
Minjie Wang's avatar
Minjie Wang committed
20
21
# test inplace build (for cython)
python3 setup.py build_ext --inplace
22
popd