2017-10-19 12:46:37 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
|
|
|
source $(dirname "$0")/../tc-tests-utils.sh
|
|
|
|
|
|
|
|
source ${DS_ROOT_TASK}/DeepSpeech/tf/tc-vars.sh
|
|
|
|
|
|
|
|
BAZEL_TARGETS="
|
2017-12-20 21:14:56 +03:00
|
|
|
//native_client:libdeepspeech.so
|
2017-10-19 12:46:37 +03:00
|
|
|
//native_client:generate_trie
|
|
|
|
"
|
|
|
|
|
2017-12-20 21:14:56 +03:00
|
|
|
BAZEL_BUILD_FLAGS="${BAZEL_ARM_FLAGS} ${BAZEL_EXTRA_FLAGS}"
|
2017-10-19 12:46:37 +03:00
|
|
|
BAZEL_ENV_FLAGS="TF_NEED_CUDA=0"
|
|
|
|
SYSTEM_TARGET=rpi3
|
2018-04-17 13:10:37 +03:00
|
|
|
SYSTEM_RASPBIAN=/tmp/multistrap-raspbian-stretch
|
2017-10-19 12:46:37 +03:00
|
|
|
|
2018-03-20 17:31:33 +03:00
|
|
|
maybe_install_xldd
|
|
|
|
|
2017-10-19 12:46:37 +03:00
|
|
|
do_bazel_build
|
|
|
|
|
|
|
|
do_deepspeech_binary_build
|
2017-10-30 14:40:22 +03:00
|
|
|
|
2018-03-20 17:31:33 +03:00
|
|
|
export SUPPORTED_PYTHON_VERSIONS="3.4.8:ucs4 3.5.3:ucs4"
|
2017-10-30 14:40:22 +03:00
|
|
|
do_deepspeech_python_build
|
|
|
|
|
|
|
|
do_deepspeech_nodejs_build
|