You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/demos/TTSCppFrontend/build.sh

22 lines
330 B

#!/bin/bash
set -e
set -x
cd "$(dirname "$(realpath "$0")")"
echo "************* Download & Build Dependencies *************"
./build-depends.sh "$@"
echo "************* Build Front Lib and Demo *************"
mkdir -p ./build
cd ./build
cmake ..
if [ "$*" = "" ]; then
make -j$(nproc)
else
make "$@"
fi
echo "Done."