sglang_v0.5.2/pytorch_2.8.0/aten/tools/test_install.sh

12 lines
192 B
Bash
Executable File

#!/bin/bash
set -x
set -e
INSTALL_ROOT=$1
SRC_ROOT=$2
rm -rf test_build
mkdir test_build
cd test_build
cmake -DCMAKE_PREFIX_PATH=$INSTALL_ROOT $SRC_ROOT/src/ATen/test/test_install
make
./main