"graphbolt/src/fused_csc_sampling_graph.cc" did not exist on "f281959ac70fb50a96a8b243133c9d013ccd3e9f"
build_dgl.sh 325 Bytes
Newer Older
1
#!/bin/bash
2
set -e
3
4
5
6
7
8
9
10
11

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

rm -rf _download

pushd build
VoVAllen's avatar
VoVAllen committed
12
cmake .. -DBUILD_CPP_TEST=1
13
14
15
16
17
18
make -j4
popd

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