#!/bin/sh set -xe rm -rf aten_build rm -rf aten_install mkdir aten_build aten_install cd aten_build cmake ../aten -DUSE_CUDA=OFF -DCMAKE_INSTALL_PREFIX=../aten_install NUM_JOBS="$(getconf _NPROCESSORS_ONLN)" make -j"$NUM_JOBS" install cd .. aten/tools/test_install.sh $(pwd)/aten_install $(pwd)/aten