#!/bin/bash
set -e
set -o pipefail
rm -rf build
mkdir build
cd build
git submodule update --init --recursive
if [ -n "$1" ]; then
cmake -DTORCHAIR_INSTALL_DST=$1 ..
else
cmake ..
fi
make install_torchair -j8
#!/bin/bash
set -e
set -o pipefail
rm -rf build
mkdir build
cd build
git submodule update --init --recursive
if [ -n "$1" ]; then
cmake -DTORCHAIR_INSTALL_DST=$1 ..
else
cmake ..
fi
make install_torchair -j8