opus/dnn/autogen.sh
Jean-Marc Valin ebc9483b4c update model
2021-02-01 01:07:35 -05:00

19 lines
487 B
Bash
Executable file

#!/bin/sh
# Run this to set up the build system: configure, makefiles, etc.
set -e
srcdir=`dirname $0`
test -n "$srcdir" && cd "$srcdir"
#SHA1 of the first commit compatible with the current model
commit=b58f477
if [ ! -f lpcnet_data-$commit.tar.gz ]; then
echo "Downloading latest model"
wget https://media.xiph.org/lpcnet/data/lpcnet_data-$commit.tar.gz
fi
tar xvf lpcnet_data-$commit.tar.gz
echo "Updating build configuration files for lpcnet, please wait...."
autoreconf -isf