dmlc--dgl
2ade0ef96d
* fix cython bug * fix * fix
23 行
299 B
Bash
23 行
299 B
Bash
#!/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
|
|
# test install
|
|
python3 setup.py install
|
|
# test inplace build (for cython)
|
|
python3 setup.py build_ext --inplace
|
|
popd
|