#!/bin/bash set -e if [ -d build ]; then rm -rf build fi mkdir build rm -rf _download pushd build cmake .. -DBUILD_CPP_TEST=1 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