#!/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